TiLabel.AutoSize
TiLabel See Also
Determines whether the size of the control automatically resizes to
accommodate the size of caption.
property AutoSize : Boolean;
Description
Use AutoSize to make the control adjust its size automatically so the client
area accommodates the height and width of the caption. 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 size of caption.
Example
Delphi
iComponent.AutoSize := True;
C++ Builder
iComponent->AutoSize = True;
Contents | Index | Previous | Next