[DUG] Creating an object at run time.
Conor Boyd
Conor_Boyd at trimble.com
Mon Jul 16 10:58:21 NZST 2012
In XE2, GetPropInfo etc are in System.TypInfo.pas
I don't have D2009, but maybe this helps point you in the right
direction?
Cheers,
C.
-----Original Message-----
From: delphi-bounces at listserver.123.net.nz
[mailto:delphi-bounces at listserver.123.net.nz] On Behalf Of David O'Brien
Sent: Monday, 16 July 2012 10:50 a.m.
To: todd.martin.nz at gmail.com; NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Creating an object at run time.
The help says these functions are in the unit typeinfo. I don't have
this anywhere. I'm running D2009. Is this in a different unit now or am
I missing something?
-----Original Message-----
From: delphi-bounces at listserver.123.net.nz
[mailto:delphi-bounces at listserver.123.net.nz] On Behalf Of Todd Martin
Sent: Friday, 13 July 2012 4:27 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Creating an object at run time.
b := TComponentClass(FindClass('TButton')).Create(nil);
propinfo := GetPropInfo(b.classinfo,'left'); SetOrdProp(b,propinfo,100);
More information about the Delphi
mailing list