Make NSTextField recieve all keyboard events
Make NSTextField recieve all keyboard events
- Subject: Make NSTextField recieve all keyboard events
- From: Nils Hjelte <email@hidden>
- Date: Wed, 27 Aug 2003 02:17:10 +0200
Hello, I have an NSTextField which is used to receive text commands
from the user. How do I make all keyboard-events go into that text
field? If some other view is first responder when the app recieves a
keyboard event I want it to "automatically" change first responder to
the text field, without having to click on the text field.
Is subclassing NSWindow a good way of achieving this?
// Nils Hjelte
_______________________________________________
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.