Vcl.StdCtrls.TRadioButton.GetControlsAlignment

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetControlsAlignment: TAlignment; override;

C++

DYNAMIC System::Classes::TAlignment __fastcall GetControlsAlignment(void);

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.