BUG: ASCII 159 Appears With ! Text Box Format and Function Keys (194201)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft Visual FoxPro for Windows 7.0
This article was previously published under Q194201 SYMPTOMS
If you use a text box control that has its Format property set to "!", when
you type a function key F2 through F9, F11, F12, or CTRL/SHIFT/ALT, or
combinations of these control keys, an ASCII 159 character appears in the
text box. Depending on the setting in the FontName property of the text
box, the character may appear as a Y with two dots over it, or some other
character.
RESOLUTION
Trap the keystrokes in the form or text box KeyPress event, and
conditionally issue a NODEFAULT if the keystroke is one that causes the
ASCII 159 to appear. Please see the MORE INFORMATION section of this
article for details.
STATUS
Microsoft 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.
REFERENCES
Modification Type: | Major | Last Reviewed: | 11/12/2001 |
---|
Keywords: | kbbug KB194201 |
---|
|