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

TControl.CheckChildClassAllowed

Function checks whether a particular child class is allowed

Declaration

Source position: controls.pp line 1327

public function TControl.CheckChildClassAllowed(

  ChildClass: TClass;

  ExceptionOnInvalid: Boolean

):Boolean;

Arguments

ChildClass

  

The child class which is being checked to see whether it is allowed

ExceptionOnInvalid

  

Boolean set to True if a non-valid class is found and an exception has been raised

Function result

Function returns True if child class has been checked and is allowed

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