Vcl.Controls.TControl.GetControlsAlignment
Delphi
function GetControlsAlignment: TAlignment; dynamic;
C++
DYNAMIC System::Classes::TAlignment __fastcall GetControlsAlignment();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TControl |
Description
Indicates how text is aligned within the control.
Use GetControlsAlignment to determine the alignment of the control. For controls that do not have an Alignment property, GetControlsAlignment returns taLeftJustify.
Note: GetControlsAlignment returns the alignment of text before it is altered by the BiDiMode property. To check whether the alignment should be reversed to reflect the BiDiMode property, call UseRightToLeftAlignment.