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

TSplitter

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

TSplitter : A vertical or horizontal bar placed on a panel or form, to separate sub-panels functionally

Declaration

Source position: extctrls.pp line 405

type TSplitter = class(TCustomSplitter) end;

published

  property Align: TAlign;

  

Specifies the placement of the control inside its Parent.

  property Anchors: TAnchors;

  

The set of anchor definitions for this control.

  property AutoSnap: Boolean;

  

AutoSnap - automatically snaps to a grid point or grid line in the Form designer

  property Beveled: Boolean;

  

Whether the edges of the splitter bar are bevelled

  property Color: TColor;

  

The background color of the control.

  property Constraints: TSizeConstraints;

  

The minimal and maximal Width and Height of this control.

  property Cursor: TCursor;

  

The shape of the mouse pointer, when the mouse is over this control.

  property Height: Integer;

  

The vertical size of the control.

  property MinSize: Integer;

  

Minimum size for splitter - default 30 pixels

  property OnCanOffset: TCanOffsetEvent;

  property OnCanResize: TCanResizeEvent;

  

Event handler for receiving permission to resize

  property OnChangeBounds: TNotifyEvent;

  

Event handler for a change of the Bounds of the control.

  property OnMoved: TNotifyEvent;

  

Event handler for occasion when splitter has moved

  property OnMouseWheel: TMouseWheelEvent;

  property OnMouseWheelDown: TMouseWheelUpDownEvent;

  property OnMouseWheelUp: TMouseWheelUpDownEvent;

  property OnPaint: TNotifyEvent;

  property ParentColor: Boolean;

  

If true, the Color of the control will be the same as the one from the Parent. Default is true.

  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 ResizeAnchor: TAnchorKind;

  

ResizeAnchor - the kind of anchor to be used for resizing

  property ResizeStyle: TResizeStyle;

  

Style for resizing - as a line, a pattern, full update, or none

  property ShowHint: Boolean;

  

Enables the Hint display.

  property Visible: Boolean;

  

Allows to show or hide the control, and all of its children.

  property Width: Integer;

  

The horizontal extent of the control.

Inheritance

TSplitter

  

TSplitter : A vertical or horizontal bar placed on a panel or form, to separate sub-panels functionally

|

TCustomSplitter

  

TCustomSplitter : the base type for TSplitter

|

TCustomControl

  

The base class for windowed controls which paint themselves.

|

TWinControl

  

The base class for controls which can contain other (child) controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

The base class for LCL components associated with widgets.

|

TComponent

?

TObject

Description

TSplitter: A vertical or horizontal bar that can be placed on a panel or form, to separate sub-panels functionally and allow re-sizing of the constituent sub-panels

The splitter extends for the full height (if vertical) or full width (if horizontal) of the parent control (form or panel) and is anchored to the edges; its position along the length or height of the parent is determined by the programmer or user by moving the whole control with the mouse, and its size can be adjusted using the sizing bars and with the ResizeAnchor property

See also

HowToUseStdCtrls

  

How to use StdCtrls, ComCtrls or ExtCtrls

The latest version of this document can be found at lazarus-ccr.sourceforge.net.