TiPanel.TitleMarginLeft

TiPanel

Specifies the margin between the title text and the left side of the control.

property TitleMarginLeft : Integer;

Description

Use TitleMarginLeft to get or set the margin between the title text and the left side of the control. The TitleMarginLeft value is in pixels.

Note: this property has no effect if the TitleAlignment property is set to iahCenter.

Note: if the TitleAlignment property is set to iahRight, then the TitleMarginLeft property refers to the margin on the right side of the label and not the left. This, unfortunately, makes this property confusing since we are keeping backward compatibility with this older property name.

Example

Delphi

iComponent.TitleMarginLeft := 10;

C++ Builder

iComponent->TitleMarginLeft = 10;

Contents | Index | Previous | Next