• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Forwarding key events to a non first responder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >Forwarding key events to a non first responder? (From: Dan Wood <email@hidden>)

  • Prev by Date: Re: -[NSResponder flagsChanged:] not called?
  • Next by Date: Re: Executing methods in one class from within another
  • Previous by thread: Re: Forwarding key events to a non first responder?
  • Next by thread: Re: Forwarding key events to a non first responder?
  • Index(es):
    • Date
    • Thread