NSTextField keypress question
NSTextField keypress question
- Subject: NSTextField keypress question
- From: Edward Fink <email@hidden>
- Date: Fri, 1 Nov 2002 21:32:45 -0500
How can I tell if the key combination of "ctrl g" was pressed in an
NSTextField?
To respond to some other key combinations I use:
- (BOOL)control:(NSControl *)control textView:(NSTextView *)textView
doCommandBySelector:(SEL)commandSelector
However, when <ctrl><g> is pressed...commandSelector is "noop:"...but
it is also that value for other key combinations....so I am unsure how
to distinguish.
Thanks
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.