BUG: Text Is Aligned Too Far Left and Up in TextBox (180437)
The information in this article applies to:
- Microsoft Windows CE Toolkit for Visual Basic 6.0
- Microsoft Windows CE Toolkit for Visual Basic 5.0
This article was previously published under Q180437 SYMPTOMS
Text 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.
NOTE: This occurs only in the emulation environment and not on the Handheld PC device.
RESOLUTION
To 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.Refresh
Although 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 that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 8/24/2005 |
---|
Keywords: | kbBug kbpending kbToolkit KB180437 |
---|
|