Re: force NSTextField to accept only Roman, or the other character codes

2008-03-10 Thread Sean McBride
On 3/8/08 11:05 AM, norio said: >My app's window has several NSTextFields. Some of them only accept >Roman characters, and the others prefer to Japanese. >So when the cursor comes to the text field, I want input method to >change suitable characters depending on the text field. >Not using validati

Re: force NSTextField to accept only Roman, or the other character codes

2008-03-07 Thread Martin Wierschin
Hi Norio, So when the cursor comes to the text field, I want input method to change suitable characters depending on the text field. Not using validation after user types something in it. There's no Cocoa API for switching the keyboard/input method. However, on Leopard you can use Text Inp