Sign in Join
FPDoc Onlineexperiment

TCustomEdit.ChildClassAllowed function

Member of TCustomEditprotectedIn unit StdCtrls

Indicates whether child controls using the specified class are allowed.

Declaration

pascal
function ChildClassAllowed(ChildClass: TClass): Boolean; override

Arguments

ChildClass

Class type for the child control.

Function result

True if a child control using the specified class type are allowed for the control.

Description

ChildClassAllowed is overridden in TCustomEdit to use the widgetset class to determine whether child controls can be embedded within the control. The return value is True when the GetLCLCapability method in the widgetset class returns LCL_CAPABILITY_YES for the lcAllowChildControlsInNativeControls query.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.