TCustomPairSplitter.Create constructor
Constructor for the class instance.
Declaration
constructor Create(TheOwner: TComponent); overrideArguments
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.
