[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Determines whether this control is a parent of AControl.
Source position: controls.pp line 1716
public function TControl.IsParentOf( |
AControl: TControl |
):Boolean; virtual; |
AControl |
|
The initial control examined in the parent control hierarchy. |
True if this control is a parent of AControl.
IsParentOf is a Boolean function used to determine if the current control instance is ultimately a parent of the control specified in AControl. No actions are performed in the method when AControl has not been assigned (Nil), and the return value is set to False.
IsParentOf visits each control in the Parent control hierarchy, and returns True if the current class instance (Self) is found in the tree. The return value is False if the current control instance is not found in the Parent control tree.
|
The control within which the control is shown. |
Version 3.2 | Generated 2024-02-25 | Home |