Unicode Controls & Classes for VB6 - Version 4

ctlUniLabelWL.AutoSize Property

Enables or disables the automatic size for the label

Public Property Get AutoSize () As Boolean
Public Property Let AutoSize (ByVal New_Value As Boolean)
Parameter Description
ByVal New_Value As Boolean The new value
When the [WordWrap] property is False the label expands horizontally and only vertically if a NewLine char is encountered; the width of the label is always the minimum needed for containing a caption row
When the [WordWrap] property is True the label expands horizontally and also vertically; in this case the automatic width of the label never got stretched