System.Classes.TAlignment

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TAlignment = (taLeftJustify, taRightJustify, taCenter);

C++

enum DECLSPEC_DENUM TAlignment : unsigned char { taLeftJustify, taRightJustify, taCenter };

Properties

Type Visibility Source Unit Parent
enum public
System.Classes.pas
System.Classes.hpp
System.Classes System.Classes

Description

TAlignment specifies how text is aligned within a control.

The following are possible values of TAlignment:



Value Meaning

taLeftJustify

Text is left-justified: Lines all begin at the left edge of the control.

taCenter

Text is centered in the control.

taRightJustify

Text is right-justified: Lines all end at the right edge of the control.



See Also

Code Examples