FMX.Types.AnchorAlign

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

AnchorAlign: array [TAlignLayout] of TAnchors = (
{ TAlignLayout.None }
[TAnchorKind.akLeft,
TAnchorKind.akTop],
{ TAlignLayout.Top }
[TAnchorKind.akLeft,
TAnchorKind.akTop,
TAnchorKind.akRight],
{ TAlignLayout.Left }
[TAnchorKind.akLeft,
TAnchorKind.akTop,
TAnchorKind.akBottom],
{ TAlignLayout.Right }
[TAnchorKind.akRight,
TAnchorKind.akTop,
TAnchorKind.akBottom],
{ TAlignLayout.Bottom }
[TAnchorKind.akLeft,
TAnchorKind.akRight,
TAnchorKind.akBottom],
{ TAlignLayout.MostTop }
[TAnchorKind.akLeft,
TAnchorKind.akTop,
TAnchorKind.akRight],
{ TAlignLayout.MostBottom }
[TAnchorKind.akLeft,
TAnchorKind.akRight,
TAnchorKind.akBottom],
{ TAlignLayout.MostLeft }
[TAnchorKind.akLeft,
TAnchorKind.akTop,
TAnchorKind.akBottom],
{ TAlignLayout.MostRight }
[TAnchorKind.akRight,
TAnchorKind.akTop,
TAnchorKind.akBottom],
{ TAlignLayout.Client }
[TAnchorKind.akLeft,
TAnchorKind.akTop,
TAnchorKind.akRight,
TAnchorKind.akBottom],
{ TAlignLayout.Contents }
[TAnchorKind.akLeft,
TAnchorKind.akTop,
TAnchorKind.akRight,
TAnchorKind.akBottom],
{ TAlignLayout.Center }
[],
{ TAlignLayout.VertCenter }
[TAnchorKind.akLeft,
TAnchorKind.akRight],
{ TAlignLayout.HorzCenter }
[TAnchorKind.akTop,
TAnchorKind.akBottom],
{ vaHorizintal }
[TAnchorKind.akLeft,
TAnchorKind.akRight],
{ TAlignLayout.Vertical }
[TAnchorKind.akTop,
TAnchorKind.akBottom],
{ TAlignLayout.Scale }
[TAnchorKind.akLeft,
TAnchorKind.akTop,
TAnchorKind.akRight,
TAnchorKind.akBottom],
{ TAlignLayout.Fit }
[TAnchorKind.akLeft,
TAnchorKind.akTop,
TAnchorKind.akRight,
TAnchorKind.akBottom],
{ TAlignLayout.FitLeft }
[TAnchorKind.akLeft,
TAnchorKind.akTop,
TAnchorKind.akRight,
TAnchorKind.akBottom],
{ TAlignLayout.FitRight }
[TAnchorKind.akLeft,
TAnchorKind.akTop,
TAnchorKind.akRight,
TAnchorKind.akBottom]
);

C++

extern DELPHI_PACKAGE System::StaticArray<System::Uitypes::TAnchors, 20> AnchorAlign;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
variable public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

Beschreibung

Variable, die ein Array mit TAnchors-Werten enthält.

AnchorAlign wird folgendermaßen mit einem Array initialisiert, das die Deklarationen für alle möglichen Ausrichtungsmodi (None, Top, Left usw.) enthält:

 (
     { None }
     [TAnchorKind.akLeft,
      TAnchorKind.akTop],
 
     { Top }
     [TAnchorKind.akLeft,
      TAnchorKind.akTop,
      TAnchorKind.akRight],
 
     { Left }
     [TAnchorKind.akLeft,
      TAnchorKind.akTop,
      TAnchorKind.akBottom],
 
     { Right }
     [TAnchorKind.akRight,
      TAnchorKind.akTop,
      TAnchorKind.akBottom],
 
     { Bottom }
     [TAnchorKind.akLeft,
      TAnchorKind.akRight,
      TAnchorKind.akBottom],
 
     { MostTop }
     [TAnchorKind.akLeft,
      TAnchorKind.akTop,
      TAnchorKind.akRight],
 
     { MostBottom }
     [TAnchorKind.akLeft,
      TAnchorKind.akRight,
      TAnchorKind.akBottom],
 
     { MostLeft }
     [TAnchorKind.akLeft,
      TAnchorKind.akTop,
      TAnchorKind.akBottom],
 
     { MostRight }
     [TAnchorKind.akRight,
      TAnchorKind.akTop,
      TAnchorKind.akBottom],
 
     { Client }
     [TAnchorKind.akLeft,
      TAnchorKind.akTop,
      TAnchorKind.akRight,
      TAnchorKind.akBottom],
 
     { Contents }
     [TAnchorKind.akLeft,
      TAnchorKind.akTop,
      TAnchorKind.akRight,
      TAnchorKind.akBottom],
 
     { Center }
     [],
 
     { VertCenter }
     [TAnchorKind.akLeft,
      TAnchorKind.akRight],
 
     { HorzCenter }
     [TAnchorKind.akTop,
      TAnchorKind.akBottom],
 
     { vaHorizintal }
     [TAnchorKind.akLeft,
      TAnchorKind.akRight],
 
     { Vertical }
     [TAnchorKind.akTop,
      TAnchorKind.akBottom],
 
     { Scale }
     [TAnchorKind.akLeft,
      TAnchorKind.akTop,
      TAnchorKind.akRight,
      TAnchorKind.akBottom],
 
     { Fit }
     [TAnchorKind.akLeft,
      TAnchorKind.akTop,
      TAnchorKind.akRight,
      TAnchorKind.akBottom],
 
     { FitLeft }
     [TAnchorKind.akLeft,
      TAnchorKind.akTop,
      TAnchorKind.akRight,
      TAnchorKind.akBottom],
 
     { FitRight }
     [TAnchorKind.akLeft,
      TAnchorKind.akTop,
      TAnchorKind.akRight,
      TAnchorKind.akBottom]
   );

AnchorAlign wird intern für Ausrichtungsprozeduren verwendet.

Siehe auch