• 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
Location of NSPopUpButton selectedValue Null placeholder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Location of NSPopUpButton selectedValue Null placeholder


  • Subject: Location of NSPopUpButton selectedValue Null placeholder
  • From: Steve Weller <email@hidden>
  • Date: Thu, 18 Aug 2005 22:56:11 -0700


I have a NSPopUpButton that is bound to an NSArray of NSStrings via contentValues and to an NSString via selectedValue. I have a Null placeholder string "Select" for the selectedValue.


This works. The pop-up shows "Select" when the NSString is set to nil and I can select values in the list. I can make the Select string vanish by making selectedValue binding target non-nil. However the "Select" string when it is in the pop-up is at the bottom of the menu (below about 30 numbers) when I want it to be at the top so that the list more naturally opens downwards.

Is there a way to do this?

--
Watch me learn Cocoa  http://homepage.mac.com/bagelturf/



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: CoreData Parent Entity Confusion
  • Next by Date: Re: Finding the 'best' size for a webView
  • Previous by thread: Re: screen savers
  • Next by thread: Newbie: help with NSTableView and NSPopUpButtonCell
  • Index(es):
    • Date
    • Thread