TIP: Click on subject to list as thread! ANSI
echo: delphi
to: BRYAN SMITH
from: CHRISTIAN IVERSEN
date: 1997-12-21 15:04:00
subject: TPageControl - who owns what ?

 Den 21-Dec-1997 R†bte Jeg Helt Vildt Til Bryan
 Det Var Om TPageControl - who owns what ? Og L›d S†dan Her:
 [..]
 BS> Also, suppose I drop a label onto TabSheet3 and it is Label1. Then if I 
 BS> drop
 BS> another label onto Tabsheet1, it will be label2, not label 1, indicating
 BS> that Tabsheets 1 and 3 can not themselves own labels: the labels are 
 BS> owned
 BS> by something higher than a tabsheet - perhaps the form.
Yes the form, if you look in the top of the code you will see a list of
all components placed on the form, all the components are *owned* by the
form, this also means things placed on top of each other!
You understand it ??
 BS> An explanation of just what ownership rules Delphi uses here would be
 BS> appreciated.
Okay, lets say we have a panel (you know that silver thing
we can place things on ;) and place something on the panel,
now the panel is a parent for the thing you placed on it
and the thing you placed has a parent property that points to the panel
a form own the controls on it. (as you can see in the top)
 Med Venlig Hilsen: Christian Iversen.
--- Terminate 4.00
---------------
* Origin: Terminate & ISDN CAPI = 1000k/minute (15000 CPS) (2:238/52.112)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.