TiPanel.TitleAlignment

TiPanel

Specifies the horizontal alignment style of the title.

type TiAlignmentHorizontal = (iahCenter, iahLeft, iahRight);

property
TitleAlignment : TiAlignmentHorizontal;

Description

Use TitleHorizontalAlignment to specify the horizontal alignment style of the title.

Note: use TitleMarginLeft and TitleMarginTop to further position the title.

These are the possible values:

Value
Meaning
iahCenter
Title text is centered horizontally in the component..
iahLeft
Title text is left aligned in the component.
iahRight
Title text is right aligned in the component.

Example

Delphi

iComponent.TitleAlignment := iahCenter;

C++ Builder

iComponent->TitleAlignment = iahCenter;

Contents | Index | Previous | Next