Vcl.StdCtrls.TCustomStaticText.Alignment
Delphi
property Alignment: TAlignment read FAlignment write SetAlignment default taLeftJustify;
C++
__property System::Classes::TAlignment Alignment = {read=FAlignment, write=SetAlignment, default=0};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
property | protected | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomStaticText |
Description
Détermine comment le texte est aligné à l'intérieur du composant.
Les valeurs possibles pour Alignment sont les suivantes :
Valeur | Signification |
---|---|
taLeftJustify |
Le texte est aligné sur la gauche du contrôle. |
taCenter |
Le texte est centré dans le contrôle. |
taRightJustify |
Le texte est aligné sur la droite du contrôle. |