Vcl.StdCtrls.TRadioButton.GetControlsAlignment
Delphi
function GetControlsAlignment: TAlignment; override;
C++
DYNAMIC System::Classes::TAlignment __fastcall GetControlsAlignment();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TRadioButton |
Description
Returns the alignment of any text in the control.
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.