全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:6876
推到 Plurk!
推到 Facebook!

菜鳥發問-使用ImeMode與ImeName切換中文問題

尚未結案
aeromika
一般會員


發表:4
回覆:6
積分:2
註冊:2004-04-15

發送簡訊給我
#1 引用回覆 回覆 發表時間:2004-04-19 01:20:31 IP:219.80.xxx.xxx 未訂閱
各位先進好, 我原本是用vb在開發, 最近才轉用delphi 所以會發出菜鳥問題, 請大家多多包涵 小弟是用delphi 7, 發現在tedit直接用ImeMode與ImeName來切換中文輸入蠻方便, 但是為何在切換到中文輸入法時, 會強迫設成全形? 不知這是否正常? 有無辦法能不去改變到半/全形的設定? 謝謝!!
Fishman
尊榮會員


發表:120
回覆:1949
積分:2163
註冊:2006-10-28

發送簡訊給我
#2 引用回覆 回覆 發表時間:2004-04-19 11:09:14 IP:210.65.xxx.xxx 未訂閱
Hi aeromika,    將 ImeMode := imClose; 再指定 ImeName 試試 ---------------------------------- 小弟才疏學淺,若有謬誤尚請不吝指教 ----------------------------------
------
Fishman
aeromika
一般會員


發表:4
回覆:6
積分:2
註冊:2004-04-15

發送簡訊給我
#3 引用回覆 回覆 發表時間:2004-04-19 22:04:29 IP:219.80.xxx.xxx 未訂閱
感謝Fishman兄的熱情回覆~~ 小弟試了幾種組合終於給試成功 要設 ImeMode := imDontCare; 再設 ImeName 就可以了 原來 ImeMode := imChinese 是會去改全形....
baygon
一般會員


發表:20
回覆:31
積分:10
註冊:2003-10-03

發送簡訊給我
#4 引用回覆 回覆 發表時間:2004-12-24 09:31:18 IP:210.201.xxx.xxx 未訂閱
最近我也是有這樣的問題存在 之前會預設全型是我要的 但現在要半型卻不知如何解決 試了兩位的方法還是一樣無法解決 煩請各位指導一下。
Fishman
尊榮會員


發表:120
回覆:1949
積分:2163
註冊:2006-10-28

發送簡訊給我
#5 引用回覆 回覆 發表時間:2004-12-24 10:32:44 IP:210.65.xxx.xxx 未訂閱
Hi baygon,    將 ImeMode 設為 imOpen 再指定輸入方法試試 但是若上一個 control 設為 imChinese, 則下一個 Control 似乎也會變為全形! 因此建議不要將 ImeMode 設為 imChinese! ImeMode 說明如下:
imDisable  Shut down the IME. imDisable has no effect on Chinese, Taiwanese, or Korean IMEs.
imClose    Close the IME conversion window, but leave the IME running in the background. The IME can be reactivated by a hot key combination.
imOpen     Open the IME conversion window. The conversion mode is the last conversion mode used by the IME.
imDontCare Launch the IME if it is disabled. The conversion mode is the last conversion mode used by the IME.
imSAlpha   Open the IME conversion window and set the conversion mode to accept single-width Roman alphabet input.
imAlpha    Open the IME conversion window and set the conversion mode to accept double-width Roman alphabet input.
imHira     Open the IME conversion window and set the conversion mode to double-width Hiragana. imHira is only available for Japanese IMEs.
imSKata    Open the IME conversion window and set the conversion mode to single-width Katakana (Hankaku Katakana). imSKata is only available for Japanese IMEs.
imKata     Open the IME conversion window and set the conversion mode to double-width Katakana (Zenkaku Katakana). imKata is only available for Japanese IMEs.
imChinese  Open the IME conversion window and set the conversion mode to double-width Chinese. imChinese is only available for Chinese IMEs.
imSHanguel Open the IME conversion window and set the conversion mode to single-width Hanguel. imSHanguel is only available for Korean IMEs.
imHanguel  Open the IME conversion window and set the conversion mode to double-width Hanguel. imHanguel is only available for Korean IMEs.
---------------------------------- 小弟才疏學淺,若有謬誤尚請不吝指教 ----------------------------------
------
Fishman
系統時間:2024-04-17 0:14:55
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!