Article ID: 172346
Article Last Modified on 8/14/1999
APPLIES TO
- Microsoft Visual FoxPro 5.0 Standard Edition
- Microsoft Visual FoxPro 5.0a
This article was previously published under Q172346
SYMPTOMS
In Visual FoxPro 5.x, the Input Method Editor (IME) box can be disabled in
the development environment but cannot be disabled at runtime in an
executable (.exe) file.
CAUSE
When a text box is in a grid, the grid code overwrites the text box
object's IMEMode property and causes this behavior.
RESOLUTION
Two workarounds exist for this problem. First, place the following code in
the GotFocus event of each individual text box in a grid to reset the
IMEMode property:
This.IMEMode = 2
Second, you can create a text box class that has the above code in the
GotFocus event, and subclass all the text box objects in the grid from the
text box class.
Setting the IMEMode property in the Properties window for each individual
text box does not work.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug has been fixed in Visual Studio
97 Service Pack 3.
For more information, please see the following article in the Microsoft
Knowledge Base:
170365 INFO: Visual Studio 97 Service Packs - What, Where, and Why
Additional query words: IME DBCS
Keywords: kbbug kbfix kbvs97sp2fix KB172346