[Lazarus] Published properties of classtypes
inoussa12 at gmail.com
Mon Mar 3 16:31:04 CET 2008
2008/3/3, Michael Van Canneyt <michael at freepascal.org>:
> 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
procedure RegisterClass(AClass: TPersistentClass);
function FindClass(const AClassName: string): TPersistentClass;
More information about the Lazarus