[Overview][Types][Classes][Procedures and functions][Index] |
Indicates the orientation and alignment for the splitter control.
Source position: extctrls.pp line 405
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 placement of the control inside its Parent. |
|
|
The shape for the mouse pointer when the control is dragged. |
|
|
Updates the cursor to reflect the ResizeAnchor for the splitter. |
|
|
MoveSplitter moves the splitter by an amount specified in Offset. |
|
|
Handler for MouseMove events. |
|
|
Array of anchor definitions, indexed by the control sides. |