[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Returns True if the class is allowed for child controls.
Source position: controls.pp line 1730
public function TControl.CheckChildClassAllowed( |
ChildClass: TClass; |
ExceptionOnInvalid: Boolean |
):Boolean; |
ChildClass |
|
The class of the intended child control. |
ExceptionOnInvalid |
|
When True, raise an exception when the class is not allowed. |
True if the class is allowed for child controls.
Only few controls restrict the class of acceptable child controls. E.g. a PageControl only accepts TTabSheet descendants as children.
An EInvalidOperation can be generated (see ExceptionOnInvalid).
Version 3.2 | Generated 2024-02-25 | Home |