Unicode Controls & Classes for VB6 - Version 4

ctlUniLabelXP.AutoSize Property

Enables or disables the automatic size for the label

Syntax
Public Property Get AutoSize () As Boolean
Public Property Let AutoSize (ByVal New_Value As Boolean)
Parameters
Parameter Description
ByVal New_Value As Boolean The new value
Remarks
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