Re: NSPopupButton selectedObject binding grayed out
Re: NSPopupButton selectedObject binding grayed out
- Subject: Re: NSPopupButton selectedObject binding grayed out
- From: Jonathan Wight <email@hidden>
- Date: Thu, 6 May 2004 00:22:38 -0400
I hate finding the answer to my question minutes after posting it.
From the online docs:
"An object that specifies the item that is selected in the
NSPopUpButton. This is the object in the content that corresponds to
the currently selected item.
The selectedObject binding is only available when the content binding
is bound."
Jon.
PS Nice work on the new NSController docs Apple.
On May 06, 2004, at 00:16, Jonathan Wight wrote:
Give me the bad news doc...
Try this: in interface builder create a new NIB with just a window in
it, drag a NSPopUpButton onto, go to the bindings page of the button's
info. Note that the "selectedObject" binding is grayed out. Now tell
me why...
If this wasn't grayed out I'd assume it would change the selection of
the popup menu by looking up the menu item's representedObject
attributes. Does grayed out == unimplemented?
Jon.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.