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

# TPairSplitterSide

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

Implements the child controls used in the TPairSplitter component.

## Declaration

Source position: pairsplitter.pas line 43

`type TPairSplitterSide = class(TWinControl)`
`protected`
`class procedure WSRegisterClass; override;` |  | Registers this component class with the current WidgetSet.
`procedure SetParent(); override;` |  | Sets the value for the Parent property.
`procedure WMPaint(); message;` |  | Provides custom handling for LM_PAINT messages in the control.
`procedure Paint; virtual;` |  | Renders the frame for the control on its Canvas at design-time.
`property Align: TAlign;` |  | Specifies the placement of the control on its Parent control.
`property Anchors: TAnchors;` |  | The set of anchor definitions for this control.
`public`
`constructor Create(); override;` |  | Constructor for the class instance.
`destructor Destroy; override;` |  | Destructor for the class instance.
`property Splitter: TCustomPairSplitter; [r]` |  | TPairSplitter for the control.
`property Visible: Boolean;` |  | Allows the control, and all of its children, to be displayed or hidden.
`property Left: Integer;` |  | The client coordinate with the left edge for the control.
`property Top: Integer;` |  | The client coordinate for the top edge of the control.
`property Width: Integer;` |  | The horizontal size for the control.
`property Height: Integer;` |  | The vertical size for the control.
`published`
`property ChildSizing: TControlChildSizing;` |  | Provides a grid (table) layout for the children of this control.
`property ClientWidth: Integer;` |  | The width of the client area for the control.
`property ClientHeight: Integer;` |  | The height for the client area on the control.
`property Constraints: TSizeConstraints;` |  | Contains the minimum and maximum Width and Height for the control.
`property Cursor: TCursor;` |  | Contains the shape for the mouse pointer when the mouse is over the control.
`property Enabled: Boolean;` |  | Determines whether the control responds to mouse or keyboard input.
`property ShowHint: Boolean;` |  | Enables Hint display for the control.
`property ParentShowHint: Boolean;` |  | If True, the value of ShowHint for the control will be the same as the one from the Parent. Default is True.
`property PopupMenu: TPopupMenu;` |  | A context-sensitive menu that pops up when the right mouse button is clicked over this control.
`property OnMouseDown: TMouseEvent;` |  | Event handler signalled when a mouse down event is handled for the control.
`property OnMouseEnter: TNotifyEvent;` |  | Event handler signalled when the mouse pointer has entered the control.
`property OnMouseLeave: TNotifyEvent;` |  | Event handler signalled when the mouse pointer has left the control.
`property OnMouseMove: TMouseMoveEvent;` |  | Event handler signalled when the mouse pointer is moved in the control.
`property OnMouseUp: TMouseEvent;` |  | Event handler signalled when a mouse up event is handled for the control.
`property OnMouseWheel: TMouseWheelEvent;` |  | Event handler for mouse wheel turned.
`property OnMouseWheelDown: TMouseWheelUpDownEvent;` |  | Event handler signalled for a downward movement of the mouse wheel.
`property OnMouseWheelUp: TMouseWheelUpDownEvent;` |  | Event handler signalled for an upward movement of the mouse wheel.
`property OnResize: TNotifyEvent;` |  | Notification handler for a resize of the control.
`end;`

## Inheritance

`TPairSplitterSide` |  | Implements the child controls used in 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

TPairSplitterSide is a TWinControl descendant that represents the child controls used in the TPairSplitter component. TPairSplitterSide behaves like a TPanel component with a reference to the TPairSplitter that owns the control. TPairSplitterSide provides a custom Paint method and WMPaint message handling. TPairSplitterSide changes the visibility of inherited properties to match their intended usage.

## See also

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