The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



AutoSize


Unit:SDL_urllab
Class:TUrlLab
Declaration:property AutoSize: Boolean;

The property AutoSize determines whether the size of the label automatically resizes to accommodate the text. When AutoSize is False, the label is fixed in size. When AutoSize is True, the size of the label readjusts whenever the text changes. The size of the label is also readjusted when the Font property changes.

When WordWrap is True, the width of the label is fixed. If AutoSize is also True, changes to the text cause the label to change in height. When AutoSize is True and WordWrap is False, the font determines the height of the label, and changes to the text cause the label to change in width.


Last Update: 2012-Oct-20