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

Reply via email to