Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.