TiEditCustom.AlignmentMargin

TiEditCustom

Use AlignmentMargin to specify the margin padding used when the edit control is left or right justified.

property AlignmentMargin : Integer

Description

Use AlignmentMargin to specify the margin padding used when the edit control is left or right justified. This property only has effect if the edit control Alignment property is set to taLeftJustify or taRightJustify.

If Alignment is taLeftJustify, the AlignmentMargin refers to margin padding applied to the left-side of the component.

If Alignment is taRightJustify, the AlignmentMargin refers to margin padding applied to the right-side of the component.

Note: this value is in pixels.

Example

Delphi

iComponent.AlignmentMargin :=1;

C++ Builder

iComponent->AlignmentMargin = 1;

Contents | Index | Previous | Next