BUG: Text Is Aligned Too Far Left and Up in TextBoxLast reviewed: February 4, 1998Article ID: Q180437 |
The information in this article applies to:
SYMPTOMSText is aligned too close to the upper-left edge of a TextBox control if the TextBox Appearance property is set to '1 - 3D'. When the TextBox receives the focus, the cursor overwrites the upper-left TextBox border, leaving a white space when the TextBox loses focus.
RESOLUTIONTo avoid losing a portion of the border after the TextBox has lost focus, put the following code in the LostFocus event of the TextBox to refresh the TextBox:
Text1.RefreshAlthough this does not solve the minor problem of the text being too close to the edges, it does solve the cosmetic problem caused by the cursor erasing the border.
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. |