NSComboBox Suggestions
NSComboBox Suggestions
- Subject: NSComboBox Suggestions
- From: "Mike Cahill" <email@hidden>
- Date: Mon, 22 Oct 2007 15:03:08 -0700
- Thread-topic: NSComboBox Suggestions
Hi there
I'm after some suggestions on implementing some different behavior in
NSComboBox. Right now the box is tied to a database via a data source
and works exactly as it should with auto-complete etc. Now we have a
requirement to have the combo box filter what is in its popup down to
items that *contain* the string typed into the edit portion of the
combo, not to just select the first item that starts with the text typed
into the combo.
I realize there is an NSSearchField control but this doesn't quite do
what I want either. I'm also considering attaching a popup menu to an
NSSearchField control such that the menu is displayed and its contents
filtered as you type into the search field control. I don't have the
real-estate for a table control that the search field filters, it has to
be a pop-up or something like that. Ideally I'd like a 'search-combo'
control.
Does the description of what I'm trying to do make sense? I'd like to do
this in a Mac-like way rather than a Windows-like way that runs on a Mac
hence the question. Popping a dialog for searching is an option but I'm
trying to avoid that too.
Thanks in advance
Mike
_______________________________________________
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