Sign in Join
FPDoc Onlineexperiment

DefaultSideForAnchorKind constant

In unit Controls

Provides adjacent edges where controls are aligned for a given anchor kind.

Declaration

pascal
DefaultSideForAnchorKind: Array[TAnchorKind] of TAnchorSideReference = (asrTop,asrBottom,asrCenter) = (asrBottom, asrBottom, asrTop, asrTop)

Description

DefaultSideForAnchorKind is an array type which contains TAnchorSideReference values, The values are accessed using the enumeration values in TAnchorKind, and indicate the edge on a control where an adjacent control is aligned for the anchor kind. For example:

Anchor Kind Default Side
akTop asrBottom
akLeft asrBottom
akRight asrTop
akBottom asrTop

Used in the ldocktree unit and in the TControl.AnchorToNeighbour method.

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