TiComponent.AutoCenter

TiComponent See Also

Specifies whether the component is automatically centered within its rectangular bounds.

property AutoCenter : Boolean;

Description

Use AutoCenter to specify whether the control is automatically centered within its rectangular bounds. OffsetX and OffsetY can be used in either state to move the center point reference of the control.

Example

Delphi

iComponent.AutoCenter := True;

C++ Builder

iComponent->AutoCenter = True;

Contents | Index | Previous | Next