FlexTextBox.IMEMode Property
If specified, the mode will switch to the specified mode when keyboard focus is received. It also reverts to its previous state when it loses keyboard focus.
In the Mobile version, SIP (Software Input Panel) can also be controlled at the same time.
The operation is undefined when a SIP that does not exist in the model is specified.
Added since Mobile Ver.3.1.0
In addition, an unique SIP control can be performed by combining the Root.SetUserSip method with the SIP control plug-in DLL.
Added since Mobile Ver.4.0.0
| Constant | Value | Description |
|---|---|---|
| $ STD | 0 | Do not control IME Mobile version Ignored when running on Windows Mobile OS |
| $ ALPHA | 2 | Half-width Alphanumerical |
| $ KANA | 8 | Half-width Katakana |
| $ DALPHA | 32 | Full-width Alphanumerical |
| $ DKANA | 128 | Full-width Katakana |
| $ DHIRA | 256 | Full-width Hiragana |
| $ CLOSE | 4096 | Close IME Mobile version Ignored when running on Windows Mobile OS |
| $ OPEN | 8192 | Open IME in default state Mobile version Ignored when running on Windows Mobile OS |
Extension in Mobile version
| Constant | Value ( hexadecimal ) | Description |
|---|---|---|
| $ SIP_HIRAKATA | 00010000 | Display SIP in “Hiragana / Katakana” mode |
| $ SIP_ROMAJI | 00020000 | Display SIP in “Romaji / Kana” mode |
| $ SIP_KEYBOARD | 00030000 | Show SIP in “keyboard” mode Added since Mobile Ver.3.2.2 |
| $ SIP_HWINPUT | 00040000 | Display SIP in “Handwriting Input” mode |
| $ SIP_ENUMBER | 00050000 | Displays SIP in “alphanumerical” mode Added since Mobile Ver.3.2.2 |
| $ SIP_BUSYU | 00060000 | Display SIP in “Radical Stroke Search” mode Added since Mobile Ver.3.2.2 |
| $ SIP_SOKAKU | 00070000 | Display SIP in “Total stroke count search” mode |
| $ SIP_HWSEARCH | 00080000 | Show SIP in “handwriting search” mode |
| $ SIP_CLOSE | 10000000 | Hide SIP |
| $ SIP_OPEN | 20000000 | Displays SIP in the selected mode |
| $ SIP_USER1 | 000a0000 | For SIP control plug-in assignment Added since Mobile Ver.4.0.0 |
| $ SIP_USER2 | 000b0000 | For SIP control plug-in assignment Added since Mobile Ver.4.0.0 |
| $ SIP_USER3 | 000c0000 | For SIP control plug-in assignment Added since Mobile Ver.4.0.0 |
In addition to the above, the following options can be specified.
| Constant | Value ( hexadecimal ) | Description |
|---|---|---|
| $ SIP_UPPER | 00100000 | Show SIP at the top of the screen. In this case, the Biz / Browser will not be resized and the SIP will appear to overlap the Biz / Browser . |
| $ SIP_AUTOPOS | 00200000 | Displays SIP at the bottom of the screen if the object with focus is at the top of the screen, and $ SIP_UPPER if the object is at the bottom of the screen . |
Added since Mobile Ver.3.1.0
Restrictions on Mobile version
When the hardware key is pressed, IME control may not be applied and the character input mode of the hardware key may be prioritized.
Restrictions on Android version
In the Android version, IME input mode cannot be controlled due to OS restrictions.
In addition, SIP (Software Input Panel) may not be performed correctly depending on the IME.
The display control of SIP (Software Input Panel) when the value is set in the IMEMode property is as follows.
If you specify a value to display SIP and a value to not display at the same time, SIP will not be displayed.
| Constant | Action |
|---|---|
| $ STD | Do not control |
| $ CLOSE | Do not show SIP |
| $ SIP_CLOSE | |
| $ ALPHA | Show SIP |
| $ KANA | |
| $ DALPHA | |
| $ DKANA | |
| $ DHIRA | |
| $ OPEN | |
| $ SIP_HIRAKATA | |
| $ SIP_ROMAJI | |
| $ SIP_KEYBOARD | |
| $ SIP_HWINPUT | |
| $ SIP_ENUMBER | |
| $ SIP_BUSHU | |
| $ SIP_SOKAKU | |
| $ SIP_HWSEARCH Added since AI Ver.1.0.1 | |
| $ SIP_OPEN |