Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 87770 - Last Review: December 12, 2003 - Revision: 2.0
Unable to Display Uppercase W in Small Text Box
This article was previously published under Q87770
An uppercase W character may fail to display in the smallest possible
size text box on a Microsoft Visual Basic for Windows form with the
default FontSize (8.25) and FontName (Helv or Helvetica) selected. All
other uppercase letters display correctly.
Because the uppercase letter W is the widest of the uppercase letters in
the Helv 8.25 font, and it is slightly wider then the width of the
smallest possible Visual Basic text box, there is not enough room to
display the letter. Therefore, nothing appears in the text box.
This situation is limitation of the text box control in Microsoft Visual
Basic for Windows. Avoid the problem by using a different font for the
text box or by increasing the size of the text box.
Steps to Reproduce Behavior
- Start Visual Basic, or from the File menu, choose New Project (ALT,
F, N) if Visual Basic is already running. Form1 is created by default.
- Add the smallest possible text box to display the letter T in the word
Text1 of the text box to Form1.
- Press F5 to run the example. Activate the CAPS LOCK key and type an
uppercase W.
In Windows version 3.0, the letter W does not appear in the text box.
Instead, a space appears as if you had pressed the SPACEBAR.
In Windows version 3.1, the letter W appears not to be entered. It
appears as if it is ignored.
For further testing, try other uppercase letters. There should be no
problem with displaying other uppercase letters.
APPLIES TO
- Microsoft Visual Basic 2.0 Standard Edition
- Microsoft Visual Basic 3.0 Professional Edition
- Microsoft Visual Basic 2.0 Professional Edition
- Microsoft Visual Basic 1.0 Standard Edition
Retired KB Content DisclaimerThis article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please