Sign in Join
FPDoc Onlineexperiment

TCustomAbstractGroupedEdit.CreateBuddy function

Member of TCustomAbstractGroupedEditprotectedIn unit GroupedEdit

Creates the TControl instance assigned to the Buddy property.

Declaration

pascal
function CreateBuddy: TControl; virtual

Function result

TControl instance created in the method.

Description

CreateBuddy is a TControl function used to create the TControl instance assigned to the Buddy property. CreateBuddy calls GetBuddyClassType to get the class reference used to create new instances of the control, and calls its Create method using the current class instance as the owner for the TControl instance.

CreateBuddy is used the Create constructor.

See also

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