Bryan Smith mentioned this to All:
BS> If I use labels to walk up the chain of ownership, e.g. label1.Caption
=
BS> Image1.parent.name ; then Delphi tells me that the chain of ownership is
BS> Image1-Tabsheet3-PageControl1-Form1.
That's not the chain of "ownership", it's the chain of "parentship". The
form is the owner of all controls, unless you explicitly tell Delphi
otherwise.
The "parent" is the container of a control. The "owner" is the control that
destroys the "ownee".
...Gary
--- GoldED 2.41
---------------
* Origin: The Flying Circus BBS. (1:2410/905)
|