BUG: Label Set to Autosize Is Not Wide EnoughLast reviewed: February 10, 1998Article ID: Q180847 |
The information in this article applies to:
SYMPTOMSWhen the Autosize property of a label control is set to True, the right- most character may not be entirely visible.
RESOLUTION
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 STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior
Keywords : vb5all vbce Version : WINDOWS:1.0 Platform : WINDOWS Issue type : kbbug Solution Type : kbpending |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |