Re: Forwarding key events to a non first responder?
Re: Forwarding key events to a non first responder?
- Subject: Re: Forwarding key events to a non first responder?
- From: Ondra Cada <email@hidden>
- Date: Wed, 12 Jun 2002 13:13:09 +0200
On Wednesday, June 12, 2002, at 06:58 , Dan Wood wrote:
The subject line probably doesn't explain my question well
enough. Essentially what I'd like to do is have a big
NSTableView on a window that may or may not actually be first
responder -- perhaps there are some buttons or text fields on
the window. I'd like to be able to have keys that are
interesting to the NSTableView -- e.g. up/down arrows, page up &
page down -- essentially "forwarded" to the NSTableView, even if
something else is actually first responder. That would make it
much more intuitive for somebody to make use of the window, not
having to "tab into" the table (especially useless since there
is no highlighting shown when the table is first responder.
Any suggestions to accomplish this somewhat gracefully?
Put all those widgets (incl. the table) into your custom view, which would
do the "forwarding". So far as I can say, that looks like the cleanest way,
but of course I might have overlooked something...
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.