The Delphi Informant magazine had an article on RTTI (in Delphi 5... might
still be interesting though...) on there WEB site, here is the address...
(Note the www.delphimag.com address... The Delphi Magazine - competition to
The Delphi Informant Magazine were not to impressed!!)
Anyway, here it is...
http://www.delphimag.com/features/1999/11/di199911bt_f/di199911bt_f.asp
Regards
Colin
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Donovan J. Edye
Sent: Wednesday, 29 September 1999 7:02 pm
To: Multiple recipients of list delphi
Subject: [DUG]: [Q] Common Ancestor - TCanvas....
G'Day All,
As part of a component I would like one of the properties to be a list of
controls that have a canvas property. Now I realise that I could traverse
all the components owned by the form to determine if it had a TCanvas
property. However what I don't understand is:
- What type do I make the property? TPersistent?
- If I did the above there would be a need to typecast the property. There
must be a better way to do that aside from if The_Control is TImage then
TImage(The_Control).Canvas etc.
Any pointers etc. would be greatly appreciated.....
----------------------------------------------------------------------------
----
--Donovan
Donovan J. Edye [www.edye.wattle.id.au]
Namadgi Systems, Delphi Developer
Web: www.namsys.com.au E-Mail: [EMAIL PROTECTED]
Voice: +61 2 6285-3460 Fax: +61 2 6285-3459
TVisualBasic := Class(None);
----------------------------------------------------------------------------
----
winmail.dat