TiOdometer.AutoSize

TiOdometer See Also

Determines whether the width of the control automatically resizes to accommodate the number of digits.

property AutoSize : Boolean;

Description

Use AutoSize to make the control adjust its width automatically so the client area accommodates the width of the digits. When AutoSize is FALSE, the size is fixed. When AutoSize is TRUE, the size of the control is readjusted whenever a property changes that has an effect on the number of digits or the width of digits.

Example

Delphi

iComponent.AutoSize := True;

C++ Builder

iComponent->AutoSize = True;

Contents | Index | Previous | Next