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

TCustomPairSplitter.Sides

Provides access to the adjacent children resized using the Splitter.

Declaration

Source position: pairsplitter.pas line 120

public property TCustomPairSplitter.Sides[Index: Integer] : TPairSplitterSide
  read GetSides;

Description

Sides is a read-only indexed TPairSplitterSide property which provides access to the adjacent children resized using the Splitter in the component. Sides always has 2 elements in the array (in the range 0..1). If Index contains an invalid value, an exception is raised.

Each control in Sides behaves like a TPanel component with a reference to the TPairSplitter that owns the control. They provide a custom Paint method and WMPaint message handling. Some of their properties have altered visibility; for example, Align and Anchors are private, Top and Left are public.

Errors

Calls RaiseGDBException to raise an exception when Index < 0 or Index > 1. Raised with the message 'TCustomPairSplitter.GetSides: Index out of bounds'.

See also

TPairSplitterSide

  

Implements the child controls used in the TPairSplitter component.


Version 4.0 Generated 2025-05-03 Home