Vcl.StdCtrls.TStaticText.Alignment
Delphi
property Alignment: TAlignment read FAlignment write SetAlignment default 0;
C++
__property Alignment = {default=0};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TStaticText |
Description
Determines how text is aligned within the component. {{#multireplace:Vcl.StdCtrls.TStaticText.Alignment|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.StdCtrls.TCustomStaticText.Alignment|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.StdCtrls.TCustomStaticText.Alignment|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Determines how text is aligned within the component.
The possible values of Alignment are
| Value | Meaning |
|---|---|
|
taLeftJustify |
Text is aligned at the left of the control. |
|
taCenter |
Text is centered in the control. |
|
taRightJustify |
Text is aligned at the right of the control. |