FMX.ComboTrackBar.TComboTrackBar.TextAlign

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property TextAlign;

C++

__property TextAlign = {default=1};

Properties

Type Visibility Source Unit Parent
property public
FMX.ComboTrackBar.pas
FMX.ComboTrackBar.hpp
FMX.ComboTrackBar TComboTrackBar

Description

Specifies how the text will be displayed in terms of horizontal alignment.

FMX.ComboTrackBar.TComboTrackBar.TextAlign inherits from FMX.Edit.TCustomEdit.TextAlign. All content below this line refers to FMX.Edit.TCustomEdit.TextAlign.

Specifies how the text will be displayed in terms of horizontal alignment.

The TextAlign property specifies how this edit control displays the text in terms of horizontal alignment. TextAlign can have one of the following, defined in TTextAlign, values:

  • Center (default) aligns the text at the middle of the edit control.
  • Leading aligns the text at the leftmost position inside the edit control.
  • Trailing aligns the text at the rightmost position inside the edit control.

When you use text representation properties stored in ITextSettings.TextSettings, remember that TextAlign corresponds to HorzAlign.

See Also