2008/3/3, Michael Van Canneyt <[EMAIL PROTECTED]>: > > > On Mon, 3 Mar 2008, Ales Katona wrote: > > > If you make a "class of something" published, it will compile, but the > > property won't show in the OI. I'm not sure if it's supposed to work so > > I'm asking here.. Vincent also mentioned "TTypeKind support tkClass" :) > > > > So.. should it be possible to use "class of " as published properties in > > the OI? > > > No, because you cannot enter a value anyway. > How will you resolve a text to a class pointer ?
If the class is registered ( using RegisterClass() ), it can be found with FindClass(). <code unit="classes"> procedure RegisterClass(AClass: TPersistentClass); function FindClass(const AClassName: string): TPersistentClass; </code> -- Inoussa O. _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
