RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomStaticText.AutoSize Property

Specifies whether the control sizes itself automatically to accommodate its contents.

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

Use AutoSize to specify whether the control sizes itself automatically. When AutoSize is true, the control resizes automatically when its contents change. 

By default, AutoSize is false. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!