How to programmatically open an NSComboBox's list?
How to programmatically open an NSComboBox's list?
- Subject: How to programmatically open an NSComboBox's list?
- From: Jens Alfke <email@hidden>
- Date: Thu, 17 Jul 2008 09:26:06 -0700
I have an NSComboBox, and I want to automatically pop open the list,
without the user having to click the button. But I can't find anything
in the API of either the control or the cell to do this. Did I
overlook something?
(I suspect there might be a sneaky way to do this using the
Accessibility API, just as there was one to move the divider in a
splitview before 10.5 gave us programmatic control over that.)
At a broader level: Does anyone know of an email-address-picker widget
that supports both Address Book lookup _and_ entering arbitrary
addresses? I've been using the ABPeoplePicker in the app I'm working
on, but I also need to let people pick addresses that aren't in their
address book. This is only for single addresses, though, so
NSTokenField doesn't seem like the right UI.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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