[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Checks if this control can become a child of AParent.
Source position: controls.pp line 1582
public procedure TControl.CheckNewParent( |
AParent: TWinControl |
); virtual; |
AParent |
|
The new Parent for this control. |
This check is performed during SetParent. It calls CheckChildClassAllowed and whether AParent=Self.
An EInvalidOperation occurs when any test fails.
lazarus-ccr.sourceforge.net |