RAD Studio VCL Reference
TControl.GetControlsAlignment Method

Indicates how text is aligned within the control.

function GetControlsAlignment: TAlignment; dynamic;
__fastcall TAlignment GetControlsAlignment();

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 if the alignment should be reversed to reflect the BiDiMode property, call UseRightToLeftAlignment.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!