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: Phillip Morelock <email@hidden>
- Date: Tue, 11 Jun 2002 22:18:27 -0700
Yucky and I'll admit I don't know if it's really a good idea, but could you
make a category of NSResponder and override methods like:
doCommandBySelector:
and
tryToPerform: with:
And then send the messages you want to send? This might be nasty, and it
also might be wrong.
cheers
fillup
On 6/11/02 9:58 PM, "Dan Wood" <email@hidden> 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?
>
>
>
--
>
Dan Wood
>
Karelia Software, LLC
>
email@hidden
>
http://www.karelia.com/
>
Watson for Mac OS X: http://www.karelia.com/watson/
>
_______________________________________________
>
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.
_______________________________________________
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.