RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStaticText.AutoSize Property

Determines whether the component is automatically resized to accommodate its text.

Pascal
property AutoSize: Boolean;
C++
__property Boolean AutoSize;__property Boolean AutoSize;

If AutoSize is true, the component is automatically resized— at runtime and design time— whenever the font size or Caption text changes. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!