I'm wanting to define a base class so that all children of that
class will be able to look at themselves and see what they have,
regardless of how the child is defined.
I can live with limiting this to published properties.
I know that Delphi seems to pick up on published properties
and shows them in the Object Inspector.
Thanks!
Joseph Good
PS - could you please e-mail a repsonse?
Pan
Sir Joseph of Greenwood (gree...@laplaza.taos.nm.us) wrote:
: Is it possible for a class to detect what it's own properties are?
>Is it possible for a class to detect what it's own properties are?
>
>I'm wanting to define a base class so that all children of that
>class will be able to look at themselves and see what they have,
>regardless of how the child is defined.
>
>I can live with limiting this to published properties.
>
>I know that Delphi seems to pick up on published properties
>and shows them in the Object Inspector.
The published properties are available at run-time, but the routines
to access that information are not documented. Read the TypInfo.int
file to learn the interface. Most of the routines are
self-explanatory. If you have specific questions, post them here.
--
Ray Lischner li...@tempest-sw.com
Tempest Software, Corvallis, Oregon, USA http://www.tempest-sw.com
CR>HELP.....
CR>Does anyone have an example how to control midi devices in delphi
CR>2.0...
CR>Im currently working on a Midi Effect mixer... but i just don't reallt
CR>know how to handle the midi functions..
Try Creative Lab's WEB site if you have access. They have some
nice programmer's notes available for download.
Hal