Mailing Lists: Apple Mailing Lists

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

Re: NSComboBox Suggestions




Is the behaviour of Apple Mail's To Field what you're after?

That should give you some clues as to how to make it Mac like, although I've never looked at the implementation.

I'd actually like a To: control like that in one of my apps, but I've not been able to find a pre-rolled one (that handles the email address retrieval as well).



On 22 Oct 2007, at 23:03, Mike Cahill wrote:

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/m.redington% 40ucl.ac.uk


This email sent to email@hidden


_______________________________________________

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
References: 
 >NSComboBox Suggestions (From: "Mike Cahill" <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.