Re: "intelligent" flexible popup
Re: "intelligent" flexible popup
- Subject: Re: "intelligent" flexible popup
- From: Gregory Weston <email@hidden>
- Date: Sun, 19 Jul 2009 23:26:01 -0400
Daniel Child wrote:
As a follow-up to the previous question on popups in a table, I am
wondering what APIs you can use to implement the kind of "intelligent"
popups one finds, for example, when filling out the State field in
forms needing an address. You start typing "Ma" and Maine or Maryland
come up. But you also have the choice to type something not in the
list of choices.
This seems to be a combination text field / popup menu. Again, either
an API hint or link to a tutorial would be very helpful. Thanks.
If I understand what you're asking for, it's just an NSComboBox(Cell).
Look at either of those classes, depending on your need, and look at
the setCompletes: method (and then NSComboBoxCell's completedString:).
_______________________________________________
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