• 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
NSPopUpButton refresh menu (bindings)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPopUpButton refresh menu (bindings)


  • Subject: NSPopUpButton refresh menu (bindings)
  • From: Scott Quiring <email@hidden>
  • Date: Fri, 22 Jul 2005 13:19:57 -0600

My project involves an NSTableView which represents fields from a database. I need to choose a single field from this list of fields that match a set of criteria. I've set up an accessor function which returns an NSSet containing every field which matches these criteria. This is the basis for an NSArrayController and an NSPopUpButton which is bound to it.

I need to repopulate the popup button menu when the set changes. I've tried calling removeAllItems on the popup button as well as posting objectDidBeginEditing and objectDidEndEditing to the array controller.

Any ideas?

Thanks,

Scott Quiring
_______________________________________________
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


  • Follow-Ups:
    • Re: NSPopUpButton refresh menu (bindings)
      • From: Scott Quiring <email@hidden>
  • Prev by Date: The Blue Technologies Group releases Localization Suite 2.0
  • Next by Date: Re: Strange issue when converting from hex to float
  • Previous by thread: Re: [ANN] The Blue Technologies Group... (sorry, mea culpa, sorry) n/t
  • Next by thread: Re: NSPopUpButton refresh menu (bindings)
  • Index(es):
    • Date
    • Thread