[Overview][Types][Classes][Procedures and functions][Index] |
Indicates the orientation and alignment for the splitter control.
Source position: extctrls.pp line 430
public property TCustomSplitter.ResizeAnchor : TAnchorKind |
ResizeAnchor is a TAnchorKind property which indicates the AnchorSide (and the associated Control) used to align the splitter. The default value for the property is akLeft, and causes the splitter to align to the control for the corresponding position in AnchorSide. akLeft and akRight allow the splitter to be moved along the horizontal axis. akTop and akBottom allow the splitter to be moved along the vertical axis.
Changing the value for the property causes the UpdateCursor method to be called to set the cursor shape displayed when the splitter control is dragged.
ResizeAnchor is linked to the Align property in TCustomSplitter. Changing the value in Align causes ResizeAnchor (and Cursor) to be updated with corresponding values as needed.
ResizeAnchor is used in the MoveSplitter method to determine the size for the splitter control and the limits for the resize operation. It is used in MouseMove to determine the starting position and offset used when the control is dragged.
|
Specifies the aligned edge for the splitter within its Parent and relative to ResizeControl. |
|
|
The shape for the mouse pointer when the control is dragged. |
|
|
Updates the cursor shape to reflect the ResizeAnchor for the splitter. |
|
|
Moves the splitter by an amount specified in Offset. |
|
|
Applies a Shift+Drag operation for the splitter as a relative offset to the anchored control. |
|
|
Array of anchor definitions, indexed by the control sides. |
Version 4.0 | Generated 2025-05-03 | Home |