[Reply]
HI All,
> Stephen Bertram, [EMAIL PROTECTED] wrote ....
>I have a need to add a couple of properties and an interface to all my
>controls. ATM I'm creating descendants and adding then to each class, but
>it would be much neater to insert a new ancestor containing the properties
>between TWinControl and TGraphicControl and TControl.
>
>On a first attempt I ran into so much co-linkage through the standard
>classes that I gave up the idea. However I would be interested to hear of
>anyone who has done something similar or has some pointers on ways, means
>and traps.
Golden rule is not to mess with the VCL.
I guess the next best thing is to introduce the common attributes at the first level
of descendancy from a VCL ancestor. More work but safe.
kr
Gary
========================================================
Gary Benner - Software Developer [EMAIL PROTECTED]
Corporate Software New Zealand Limited Auckland - New Zealand
tel: +64-9 846-6067 (24hr) fax: +64-9 846-6152 mob: (021)-966-992
Software System Design - Consulting - Mentoring - Data Modelling
Client Server - Delphi - Interbase - Oracle - Web-based Technologies
Electronic Automation and Systems - Microcontroller Design & Software
http://www.corporate.co.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"