FIX: Label Set to Autosize Is Not Wide Enough |
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 that are 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 kbOSWinCEsearch kbOSWinCE100 kbGrpDSVB
Issue type : kbbug
Technology : kbVBSearch kbAudDeveloper kbWinCETKVBSearch kbWinCESearch kbWinCETK100VB500
|
Last Reviewed: February 28, 1999 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |