The information in this article applies to:
SYMPTOMSIn 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. CAUSEWhen a text box is in a grid, the grid code overwrites the text box object's IMEMode property and causes this behavior. RESOLUTIONTwo 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:
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.
Q170365 INFO: Visual Studio 97 Service Packs - What, Where, and Why MORE INFORMATIONThe IME box allows the user to input Double Byte Character Set (DBCS) characters into a character field. You can enable and disable the IME box automatically by selecting Tools and Options from the main menu and then selecting the "Browse IME Control" check box located on the General tab. Once the "Browse IME Control" is checked, the IME box is automatically enabled as you move into a character field in a grid. Steps to Reproduce Behavior
NOTE: The IME box only works on operating system platforms that support DBCS, such as Microsoft Windows 95 Traditional Chinese version. Additional query words: IME DBCS
Keywords : kbVFp kbVS97sp2fix FxtoolGeneral |
Last Reviewed: August 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |