[Overview][Types][Classes][Procedures and functions][Index] |
Moves the splitter by an amount specified in Offset.
Source position: extctrls.pp line 418
public procedure TCustomSplitter.MoveSplitter( |
Offset: Integer |
); virtual; |
Offset |
|
Integer value with the requested distance that the splitter is moved. |
MoveSplitter is a method used to reposition the splitter control by the amount specified in the Offset parameter. Offset is the distance in pixels between the current and new splitter positions.
The values in Align, ResizeAnchor, and AnchoredControls are used to determine the direction that the splitter is moved and the controls affected. ResizeControl is the control which is resized by the specified amount, and the adjacent resized control(s) are updated with the converse of the offset value.
No actions are performed in the method when Offset contains 0 (zero) or a control has not been assigned to the ResizeControl property.
MoveSplitter ensures that size constraints for both the ResizeControl and the adjacent control(s) are respected when the splitter is repositioned.
MoveSplitter is called from the SetSplitterPosition abd StopSplitterMove methods.
|
Specifies the aligned edge for the splitter within its Parent and relative to ResizeControl. |
|
|
AutoSnap automatically moves the splitter to the zero position when split size becomes smaller than the value in MinSize. |
|
|
Contains the aligned control that is resized when the splitter is moved. |
|
|
Indicates the orientation and alignment for the splitter control. |
|
|
Gets the adjacent anchored control that is resized when the splitter is moved. |
|
|
Changes the position for the splitter to the specified NewPosition. |
|
|
Performs actions when splitter movement is stopped at the specified mouse position. |
|
|
Provides indexed access to controls which are anchored to the current control by their ordinal position. |
Version 4.0 | Generated 2025-05-03 | Home |