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: [email protected]
[mailto:[email protected]] On Behalf Of David O'Brien
Sent: Monday, 16 July 2012 10:50 a.m.
To: [email protected]; 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: [email protected]
[mailto:[email protected]] 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);

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with 
Subject: unsubscribe

Reply via email to