BUG: Italic and Large Fonts Display Poorly in Text BoxesLast reviewed: June 21, 1995Article ID: Q76555 |
The information in this article applies to:
- Standard and Professional Editions of Microsoft Visual Basic for Windows, versions 2.0 and 3.0- Microsoft Visual Basic programming system for Windows, version 1.0
SYMPTOMSItalic 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.
CAUSEThis problem is caused by Windows versions 3.0 and 3.1, not by Visual Basic.
WORKAROUNDTo 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 SubThis 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.
STATUSMicrosoft 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.
MORE INFORMATION
Steps to Reproduce Problem
|
Additional reference words: buglist3.00 1.00 2.00 3.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |