• 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: Intercepting keyDown event from NSComboBox
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Intercepting keyDown event from NSComboBox


  • Subject: Re: Intercepting keyDown event from NSComboBox
  • From: Randall Meadows <email@hidden>
  • Date: Tue, 12 Feb 2008 21:55:23 -0700

On Feb 12, 2008, at 7:13 PM, Graham wrote:

Is there a better way to intercept keyDown events before the firstResponder gets a whack at it? (Assume that changing the actual UI/UE, at this point, is not an option.)

Or re-educate the client ;-) What if he wants to type a space into the combo-box?


While this is an unhelpful and glib answer, I do feel we have to at least try to get clients to understand why things are not done certain ways and why deeper thinking on an issue will often make them realise that any given idea can be worse than useless.

Well, as I said in my original post, a space in the combo box is not valid. The contents of the combo box are identification numbers, and as such will never contain a space. The use of the space bar to activate the button is for convenience; the button is controlling hardware (a camera), and the space bar is just the easiest thing for the end users (typically computer-illiterate photographers).
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Intercepting keyDown event from NSComboBox (From: Randall Meadows <email@hidden>)
 >Re: Intercepting keyDown event from NSComboBox (From: Graham <email@hidden>)

  • Prev by Date: Re: Intercepting keyDown event from NSComboBox
  • Next by Date: Re: [Q] NSRunLoop igrnoring exception [NSCFDictionary setObject.... error
  • Previous by thread: Re: Intercepting keyDown event from NSComboBox
  • Next by thread: playing a sequence of tiffs as a movie
  • Index(es):
    • Date
    • Thread