delphi-xe

Any ideas for Delphi XE can randomly not load design package?

I've created a design package with component registration (component itself is in run-time) and some IDE menu items. If I click on "Install" menu item in context menu from Project manager - package will be loadeded and works normally (always). If I close IDE and restart it - package may be loaded or may not be loaded. Seeming randomly....

how to set background image to TListview in Delphi XE?

Hi, how i can to to set background image to TListview in Delphi XE?? i want to make a application like Windows Explorer. ...

Can a Delphi generic class descend from its class argument?

I've been trying to define a generic, inheritable TSingleton class. Here's what I had in progress: TSingleton<RealClass, InheritsFrom : class> = class(InheritsFrom) strict private class var FInstance : RealClass; protected procedure InstanceInitialization;virtual; public destructor Destroy; override; class proced...

Help in set RegularExpressions in Delphi XE

hi, i want to set RegularExpressions for check string1. string1 can change to : string1:='D1413578;1038' string1:='D2;11' string1:='D16;01' ,.... in string1 only Character 'D' and semicolon is always exist. i set RegularExpressions1 := '\b(D#\;#)\b'; but RegularExpressions1 can't to check string1 correctly. in the vb6 this Regul...

How to Send to back for a control at runtime?

Hi, First, Please download this file ( download ). how to i can set Form2 to "Send to back" for show Image1 to user ?? i use Image1.BringToFront; but this code not work!! here is main unit: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type ...

Delphi XE Unicode dealing with nchar(1) fields

Hello I'm using a dbGo TADODataset in Delphi XE to read data from a SQL Server 2008 table. All the string fields are nvarchar or nchar. The nvarchar fields map to TWideStringField with no problems. The problem is with an nchar(1) field, this maps to a TStringField fine but not to a TWideStringField - when I configure the field to be T...

Best component for show embeded swf stored at Resource in Delphi XE??

hi, Best component for show embedded swf stored at Resource in Delphi XE?? i want to read a play a .swf file in resource with Transparecy in delphi Xe ...

Is TDirect2DCanvas slow or am I doing something wrong?

While looking for alternatives to replace GDI, I was trying to test Delphi's 2010 TDirect2DCanvas performance in Windows 7. I tested it by drawing a huge polyline using Direct2D and the result was absurdly slow, even with 500 times less data than the amount I've ran the same test using GDI (and I didn't even use a bitmap as backbuffer i...

stack overflow error when i open Delphi XE IDE

Hi, When i open Delphi XE get this message and i must close IDE. message : "Danger: stack overflow - save your work and restart Delphi XE" I uninstall Delphi and cpp XE and reinstall them, but already get this message. Why?? ...