TCustomSplitter.ResizeAnchor property
Indicates the orientation and alignment for the splitter control.
Declaration
property ResizeAnchor: TAnchorKind read FResizeAnchor write SetResizeAnchor default akLeft;Description
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
