[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 WMPaint messages.

  procedure Paint; virtual;

  

Renders the control on its Canvas.

  property Align: TAlign;

  

Specifies the placement of the control inside its Parent.

  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 of the left edge of the control.

  property Top: Integer;

  

The client coordinate of the top edge of the control.

  property Width: Integer;

  

The horizontal extent of the control.

  property Height: Integer;

  

The vertical size of the control.

published

  property ChildSizing: TControlChildSizing;

  

Parameters for child control arrangement and spacing.

  property ClientWidth: Integer;

  

The width of the client area of the control.

  property ClientHeight: Integer;

  

The height of the client area of the control.

  property Constraints: TSizeConstraints;

  

The minimum and maximum Width and Height for the control.

  property Cursor: TCursor;

  

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

  property Enabled: Boolean;

  

Determines whether the control reacts on mouse or keyboard input.

  property OnMouseDown: TMouseEvent;

  

Event handler for mouse button going down.

  property OnMouseEnter: TNotifyEvent;

  

Event handler for mouse entering the area of the control.

  property OnMouseLeave: TNotifyEvent;

  

Event handler for mouse leaving the area of the control.

  property OnMouseMove: TMouseMoveEvent;

  

Event handler for mouse movement within the control.

  property OnMouseUp: TMouseEvent;

  

Event handler for mouse button going up.

  property OnMouseWheel: TMouseWheelEvent;

  

Event handler for mouse wheel turned.

  property OnMouseWheelDown: TMouseWheelUpDownEvent;

  

Event handler for downward movement of mouse wheel.

  property OnMouseWheelUp: TMouseWheelUpDownEvent;

  

Event handler for upward movement of the mouse wheel.

  property OnResize: TNotifyEvent;

  

Notification handler for a resize of the control.

  property ShowHint: Boolean;

  

Enables the Hint display.

  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.

end;

Inheritance

TPairSplitterSide

  

Implements the child controls used in the TPairSplitter component.

|

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 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 alters the visibility of inherited properties to match their intended usage.

See also

TWinControl

  

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

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