FIX: Label Set to Autosize Is Not Wide EnoughID: Q180847
|
When the Autosize property of a label control is set to True, the right- most character may not be entirely visible.
To work around the problem, you can either size labels manually, or,
if you are using the Autosize property to compensate for a changing label
caption at run-time, add code to the Change event of the label to resize it
after the Caption property is changed, as follows:
Private Sub Label1_Change()
Label1.Width = Label1.Width + 50
End Sub
Microsoft has confirmed this to be a problem in the Microsoft products listed
at the beginning of this article.
This problem was corrected in Windows CE Toolkit for Visual Basic 6.0.
Additional query words: vbce vbce5 vbce6
Keywords : kbToolkit kbVBp kbVBp500bug kbVBp600fix kbWinCE kbWinCE100 kbGrpVB
Version : WINDOWS:1.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: February 25, 1999