[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'PairSplitter' (#lcl)

# TCustomPairSplitter

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Defines the base class for the TPairSplitter component.

## Declaration

Source position: pairsplitter.pas line 92

`type TCustomPairSplitter = class(TWinControl)`
`protected`
`class procedure WSRegisterClass; override;` |  | Registers this component class with the current WidgetSet.
`function GetCursor; override;` |  | Gets the value for the Cursor property.
`procedure SetCursor(); override;` |  | Sets the value for the Cursor property.
`class function GetControlClassDefaultSize; override;` |  | Gets the default size for the control class.
`public`
`constructor Create(); override;` |  | Constructor for the class instance.
`destructor Destroy; override;` |  | Destructor for the class instance.
`procedure CreateWnd; override;` |  | Creates the window handle for the control.
`procedure UpdatePosition;` |  | Updates the value in the Position property.
`procedure CreateSides;` |  | Creates missing any controls in the Sides property.
`procedure Loaded; override;` |  | Performs actions when LCL component streaming has been completed.
`function ChildClassAllowed(); override;` |  | Determines if the class is inherited from a specific ancestor.
`property Cursor: TCursor;` |  | Cursor displayed when the control is resized.
`property Sides []: TPairSplitterSide; [r]` |  | Provides access to the adjacent children resized using the Splitter.
`property SplitterType: TPairSplitterType; [rw]` |  | Specifies the orientation for the splitter in the component.
`property Position: Integer; [rw]` |  | Indicates the position for the Splitter relative to its orientation.
`end;`

## Inheritance

`TCustomPairSplitter` |  | Defines the base class for the TPairSplitter component.
`TWinControl` |  | Implements a windowed control which can contain other child controls.
`TControl` |  | The base class for visible controls.
`TLCLComponent` |  | The base class for LCL components which have an associated widget.
`TComponent`
?
`TObject`

## Description

Defines the base class for the TPairSplitter component. TPairSplitter is a component with two TPairSplitterSide children. Both child components can contain other components. The children are separated by a splitter which can be dragged by the user to resize the adjacent child controls.

## See also

TPairSplitter |  | Implements the TPairSplitter component.
TWinControl |  | Implements a windowed control which can contain other child controls.