Sign in Join
FPDoc Onlineexperiment

AnchorAlign constant

In unit Controls

Array with sets of anchors used for a given alignment option.

Declaration

pascal
AnchorAlign: Array[TAlign] of TAnchors = Set of TAnchorKind = (akTop,akLeft,akRight,akBottom) = ([akLeft, akTop], [akLeft, akTop, akRight], [akLeft, akRight, akBottom], [akLeft, akTop, akBottom], [akRight, akTop, akBottom], [akLeft, akTop, akRight, akBottom], [akLeft, akTop])

Description

AnchorAlign is an array constant that contains elements with TAnchors set values. Values in AnchorAlign are indexed by TAlign enumeration values. This allows the TAlign value to retrieve the set of Anchors used for the specified align option.

For example:

AControl.Align := AnchorAlign[alRight]; // contains [akRight, akTop, akBottom]

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