TControl.Parent

From OpenEUO
Revision as of 00:11, 24 October 2010 by 46.127.27.108 (Talk) (Created page with " '''RW Parent : TWinControl''' Indicates the parent of the control. Use the Parent property to get or set the parent of this control. The parent of a control is the control t...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
RW Parent : TWinControl

Indicates the parent of the control.

Use the Parent property to get or set the parent of this control. The parent of a control is the control that contains the control. For example, if an application includes three radio buttons in a group box, the group box is the parent of the three radio buttons, and the radio buttons are the child controls of the group box. To serve as a parent, a control must be an instance of a descendant of TWinControl. Changing the parent of a control moves the control onscreen so that it is displayed within the new parent. When the parent control moves, the child moves with the parent.