TiEditCustom.Alignment
TiEditCustom
Controls the horizontal placement of text within the control.
type TAlignment = (taLeftJustify, taRightJustify, taCenter);
property Alignment : TAlignment;
Description
Set Alignment to specify how the text is aligned within the ClientRect of the
control.
These are the possible values:
Value
Meaning
taLeftJustify
Text is left justified: Begins at the left edge of the control.
taCenter
Text is centered in the control.
taRightJustify
Text is right justified: Ends at the right edge of the control.
Example
Delphi
iComponent.Alignment := taRightJustify;
C++ Builder
iComponent->Alignment = taRightJustify;
Contents | Index | Previous | Next