Skip to main content
All docs
V24.2

TdxLayoutSplitterItemMovedEventArgs.OldFarItemBounds Property

Returns far item boundaries (in pixels) before the current splitter expand, collapse, or move operation.

Declaration

property OldFarItemBounds: TRect read;

Property Value

Type Description
TRect

The bounding rectangle of the far item before the current splitter expand, collapse, or move operation.

Remarks

Use OldNearItemBounds and OldFarItemBounds properties to obtain delimited item boundaries before a splitter movement operation.

Near, Far, and Target Layout Items

Near and far item positions depend on the parent layout group‘s LayoutDirection property value:

ldVertical
Default. The group arranges items from top to bottom. The near item is above the splitter, and the far item is below it.
ldHorizontal
The group arranges items from left to right. Near and far items are to the left and right of a splitter, respectively.

The target item is the near or far layout item associated with the splitter, depending on AlignVert and AlignHorz property values as well as the parent group direction.

For example, the near item is the splitter target if the parent group is horizontally arranged, and the AlignHorz property is set to ahLeft:

VCL Layout Control: A Splitter and Delimited Layout Groups

See Also