[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 1369

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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.