RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRadioButton.GetControlsAlignment Method

Returns the alignment of any text in the control.

Pascal
function GetControlsAlignment: TAlignment; override;
C++
virtual __fastcall TAlignment GetControlsAlignment();

Use GetControlsAlignment to determine the orientation of text in controls that do not have an Alignment property. 

GetControlsAlignment overrides the inherited method, returning taRightJustify if UseRightToLeftAlignment returns false. If UseRightToLeftAlignment returns true, GetControlsAlignment returns the opposite of the Alignment property. 

 

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