Sign in Join
FPDoc Onlineexperiment

TCustomPairSplitter.Create constructor

Member of TCustomPairSplitterpublicIn unit PairSplitter

Constructor for the class instance.

Declaration

pascal
constructor Create(TheOwner: TComponent); override

Arguments

TheOwner

Owner of the component.

Description

Create is the constructor for the class instance. Create calls the inherited constructor using TheOwner as the owner of the component.

Create calls the GetControlClassDefaultSize class method to get the default height and width values used in instances of the class type, and calls SetBounds to apply the values. Create sets the default values for the following properties:

ControlStyle
Removes the value csAcceptsControls in the property
SplitterType
pstHorizontal
Cursor
crHSplit
Position
45

Create calls the CreateSides method when csDesigning is not in the ComponentState property. CreateSides ensures both TPairSplitterSide instances are created (and parented) in the Sides property.

See also

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