Sign in Join
FPDoc Onlineexperiment

TCustomSplitter.AnchorSplitter procedure

Member of TCustomSplitterpublicIn unit ExtCtrls

AnchorSplitter anchors the splitter to AControl using the specified Kind of anchor.

Declaration

pascal
procedure AnchorSplitter(Kind: TAnchorKind; AControl: TControl)

Arguments

Kind

Indicates the edge of the splitter aligned to the opposite edge on the control.

AControl

The control to which the splitter is anchored.

Description

Updates values in ResizeAnchor, Anchors and AnchorSide to reflect the value in Kind. Calls UpdateCursor to set the cursor shape for the anchor kind. Resizes the splitter to reflect the new value in ResizeAnchor.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.