ComboBox.IMEMode 屬性 (Access)ComboBox.IMEMode property (Access)

語法Syntax

運算式IMEModeexpression.IMEMode

_運算式_代表**ComboBox** 物件的變數。expression A variable that represents a ComboBox object.

註解Remarks

IMEMode 屬性使用下列設定值。The IMEMode property uses the following settings.

設定Setting 描述Description Visual BasicVisual Basic
不控制No Control 不設定「日文漢字轉換模式」(預設值)Kanji Conversion Mode not set (default). 00
開啟On 開啟「日文漢字轉換模式」Turns on Kanji Conversion Mode. 11
Off 關閉「日文漢字轉換模式」Turns off Kanji Conversion Mode. 22
停用Disable 停用「日文漢字轉換模式」Disables Kanji Conversion Mode. 33
平假名Hiragana 設定全形平假名。Sets full pitch hiragana. 44
全形片假名Full pitch Katakana 設定全形片假名Sets full pitch katakana. 55
半形片假名Half pitch Katakana 設定半形片假名Sets half pitch katakana. 66
全形字母/數字Full pitch Alpha/Num 設定全形字母/數字Sets full pitch letters/numbers. 77
半形字母/數字Half pitch Alpha/Num 設定半形字母/數字Sets half pitch letters/numbers. 88
HangulFullHangulFull 設定全形韓文Sets full pitch hangul. 99
韓文Hangul 設定半形韓文Sets half pitch hangul. 10 10

您可以在焦點切換到控制項藉由設定 IMEMode 屬性時指定漢字轉換模式 」。You can specify the Kanji Conversion Mode when the focus shifts to control by setting the IMEMode property. 如果設為 [否] 控制項 (預設)、 之前將焦點移至該控制項的設定會使用。If set to No Control (default), the setting before the focus shifted to that control is used. 對於任何其他設定,會使用該控制項的 「 日文漢字轉換模式 」 設定。For any other setting, the Kanji Conversion Mode setting for that control is used.

例如,如果 IMEMode 屬性設為關閉、 漢字轉換模式 」 會關閉,並且如果 IMEMode 屬性設定為上,開啟漢字轉換模式 」。For example, if the IMEMode property is set to Off, the Kanji Conversion Mode is turned off, and if the IMEMode property is set to On, the Kanji Conversion Mode is turned on. 漢字轉換模式 」 會自動變更焦點切換控制項之間每次。The Kanji Conversion Mode automatically changes each time the focus shifts between controls.

注意

[!注意事項] 如果設為 [停用,「 日文漢字轉換模式 」 設定無法變更。If set to Disable, the Kanji Conversion Mode settings cannot be changed. 如果使用任何其他設定,可以變更漢字轉換模式 」,但焦點的變更時,設定都將遺失。If any other setting is used, the Kanji Conversion Mode can be changed, but when the focus changes, the settings are lost. 如果您想要將設定儲存控制項失去焦點之前,請將 IMEHold/HoldKanjiConversionMode 屬性設定。If you want to save the settings before the control loses the focus, set the IMEHold/HoldKanjiConversionMode property.

支援和意見反應Support and feedback

有關於 Office VBA 或這份文件的問題或意見反應嗎?Have questions or feedback about Office VBA or this documentation? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.