• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to programmatically open an NSComboBox's list?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How to programmatically open an NSComboBox's list?
      • From: Omar Qazi <email@hidden>
    • Re: How to programmatically open an NSComboBox's list?
      • From: Dmitri Goutnik <email@hidden>
  • Prev by Date: Re: Inverse Regex Library?
  • Next by Date: Re: NSViewController Binding Problem continued
  • Previous by thread: Re: Authentication only for non admin login.
  • Next by thread: Re: How to programmatically open an NSComboBox's list?
  • Index(es):
    • Date
    • Thread