Re: Changing FirstResponder with Inputmethod

2010-01-14 Thread imai asato
I found EXC_BAD_ACCESS error occurs when garbage collection is on only. But when when garbage collection is off, first letter is not send to NSTextField if InputMethod is on. For example, when typing '1' '2' '3' three keys when NSTextField is not first responder. If InputMethod is off, NSTextFie

Changing FirstResponder with Inputmethod

2010-01-13 Thread imai asato
Hello, I have NSTextField and some views(NSTableView etc). I want interrupt keydown event when NSTextField is not first responder to input the key to NSTextField. I wrote keyDown: method of my NSWindowController class like below. - (void)keyDown:(NSEvent *)event { // IBOutlet NSTextField