Re: NSComboBox initialFirstResponder and nextKeyView Outlets
Re: NSComboBox initialFirstResponder and nextKeyView Outlets
- Subject: Re: NSComboBox initialFirstResponder and nextKeyView Outlets
- From: Graeme Hiebert <email@hidden>
- Date: Fri, 15 Mar 2002 07:48:14 -0800
On Wednesday, March 13, 2002, at 09:59 PM, Stephen Magyari wrote:
I don't remember the specifics of the original thread... But it sounds
like
you don't want the value to be changed, but you do want the user to
still be
able to see what the available options were...
Forgive me if I'm running off on a tangent to nowheresville or
overcomplicating the obvious, but one of the major benefits behind a
ComboBox is that the user can tab to it and start typing to
auto-select a
value.
From what I gathered, CHIMPO wants the user to be able to TAB to the
item, and then hit up/down arrow or start typing to select one of the
items from the combo's list, but not enter any random text that isn't
listed in the combo box.
I will be wanting something like this at some point as well. I haven't
played with it yet, but one could probably get something quite easily by
making a subclass of NSComboBox that handles keyDown events, or perhaps
with a simple delegate or by writing and applying a clever NSFormatter
subclass.
-g
_______________________________________________
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.