Data.DB.TField.Alignment

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TField

Delphi

property Alignment: TAlignment read FAlignment write SetAlignment default taLeftJustify;

C++

__property System::Classes::TAlignment Alignment = {read=FAlignment, write=SetAlignment, default=0};

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



See Also