TControl.CheckNewParent procedure
Checks if this control can become a child of AParent.
Declaration
procedure CheckNewParent(AParent: TWinControl); virtualArguments
AParent | The new Parent for this control. |
Description
This check is performed during SetParent. It calls CheckChildClassAllowed and whether AParent is the current class instance (Self).
Errors
An EInvalidOperation occurs when any test fails.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
