[Overview][Types][Classes][Procedures and functions][Index] |
Indicates the position for the Splitter relative to its orientation.
Source position: pairsplitter.pas line 123
public property TCustomPairSplitter.Position : Integer |
Position is an Integer property that indicates the position for the splitter relative to its orientation. Reading the value in splitter causes the UpdatePosition method to be called to recalculate the current position for the Splitter. Position can be set at design-time, or changed at run-time by dragging the grab bar for the splitter. The value in Position affects the sizing of the adjacent child controls in Sides.
When SplitterType contains pstHorizontal, the value in Position is used as the Width for the child control in Sides[0]. The remaining Width in the component (less the 5 pixels used for the Splitter) is set as the Width for the child control in Sides[1].
When SplitterType contains pstVertical, the value in Position is used as the Height for the child control in Sides[0]. The remaining Height in the component (less the 5 pixels used for the Splitter) is set as the Height for the child control in Sides[1].
|
Provides access to the adjacent children resized using the Splitter. |
|
|
Specifies the orientation for the splitter in the component. |
|
|
Updates the value in the Position property. |
Version 4.0 | Generated 2025-05-03 | Home |