Vcl.StdCtrls.TStaticText.Alignment

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Alignment;

C++

__property Alignment = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TStaticText

Description

Determines how text is aligned within the component.

Vcl.StdCtrls.TStaticText.Alignment inherits from Vcl.StdCtrls.TCustomStaticText.Alignment. All content below this line refers to Vcl.StdCtrls.TCustomStaticText.Alignment.

Determines how text is aligned within the component.

The possible values of Alignment are



Value Meaning

taLeftJustify

Text is aligned at the left of the control.

taCenter

Text is centered in the control.

taRightJustify

Text is aligned at the right of the control.



See Also