Finding Published Properties At Run-time
Posted on 1997-07-04
I am in the process of designing a generic visual designer that
will be used in a few projects we are starting...in some of our
initial conversations I came up with the idea (since Java can do
it) that it would be really valuable if Delphi could find all
the properties/fields (public/published) of any component.
The idea is this...use right-clicks on some object on a form...
Delphi examines the object and builds a property list of all the
accessible fields of that object so that the user can set
and view them.
JavaBeans allow this kind of thing...and considering the elegance of
Delphi's RTTI, I figured it was probably possible in Delphi too.
Besides just getting the fields/properties of a component...is
it possible to also get the data type of the property?? I would
suspect that if the former is true, then the latter is true too.
And finally...where in the help files should I go looking to start
getting this information??