Re: Intercepting keyDown event from NSComboBox
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