[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TControl.ChildClassAllowed

Returns True if the specified class is allowed for children of this control.

Declaration

Source position: controls.pp line 1336

protected function TControl.ChildClassAllowed(

  ChildClass: TClass

):Boolean; virtual;

Arguments

ChildClass

  

The class type of the child control.

Function result

True when the class is acceptable.