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

Re: NSPopUpButton refresh menu (bindings)


  • Subject: Re: NSPopUpButton refresh menu (bindings)
  • From: Scott Quiring <email@hidden>
  • Date: Fri, 22 Jul 2005 15:09:02 -0600

Answered my own question. It turns out that the objectDidBeginEditing and objectDidEndEditing messages weren't getting sent.

Scott

On 22-Jul-05, at 1:19 PM, Scott Quiring wrote:

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


References: 
 >NSPopUpButton refresh menu (bindings) (From: Scott Quiring <email@hidden>)

  • Prev by Date: CoreData - isDeleted behavior question
  • Next by Date: Re: CoreData - isDeleted behavior question
  • Previous by thread: NSPopUpButton refresh menu (bindings)
  • Next by thread: Removing Shadow from NSView
  • Index(es):
    • Date
    • Thread