Data.DB.TField.Alignment
Delphi
property Alignment: TAlignment read FAlignment write SetAlignment default taLeftJustify;
C++
__property System::Classes::TAlignment Alignment = {read=FAlignment, write=SetAlignment, default=0};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | Data.DB.pas Data.DB.hpp |
Data.DB | TField |
Description
Determines how the data of the field is displayed within a data-aware control.
Use Alignment to specify the position of the data of the field within data-aware controls. These are the possible values:
| Value | Meaning |
|---|---|
|
taLeftJustify |
Align data to the left side of the control |
|
taCenter |
Center data horizontally in the control |
|
taRightJustify |
Align data to the right side of the control |