Re: NSPopUpButton refresh menu (bindings)
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