BUG: Italic and Large Fonts Display Poorly in Text Boxes (76555)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
- Microsoft Visual Basic Standard Edition for Windows 1.0
This article was previously published under Q76555 SYMPTOMS
Italic letters of any size are incorrectly truncated when typed in a
text box. Also, if you use the BACKSPACE key to delete characters that
are in italic text or large fonts, pieces of characters remain after
the deletion.
CAUSE
This problem is caused by Windows versions 3.0 and 3.1, not by Visual
Basic.
WORKAROUND
To work around this problem, you can use the Refresh method during the
text box change event to correctly update the screen. However, this
will also cause some visible flickering as you type characters into
the text box.
To correct the appearance of the characters in the text box, add the
following code to the text box's Change event.
Sub Text1_Change ()
Text1.Refresh
End Sub
This code forces the text box to update the visual display every time
time a change is made, so it corrects the problem but generates a
flicker of the text box.
STATUS
Microsoft has confirmed this to be a bug in Microsoft Windows versions 3.0
and 3.1. We are researching this problem and will post new information here
in the Microsoft Knowledge Base as it becomes available.
Modification Type: | Major | Last Reviewed: | 12/12/2003 |
---|
Keywords: | kbbug KB76555 |
---|
|