Binding and NSPopUpButton selectItemAtIndex
Binding and NSPopUpButton selectItemAtIndex
- Subject: Binding and NSPopUpButton selectItemAtIndex
- From: Michael Lutz <email@hidden>
- Date: Sun, 6 Feb 2005 00:00:45 +0100
Hi List,
I have a NSPopUpButton to which I bound the NSString "selectedPort"
using an NSObjectContoller and the "selectedValue" binding (Controller
Key: "selection").
Everything is working fine (selectedPort gets updated when the
selection changes) as long the changes are made using the GUI. But if
NSPopUpButton's selectItemAtIndex is called, then selectedPort still
has it's old value.
As I am fairly new to bindings I am wondering if those do not work if
the selection is changed programatically?
Thanks for your help!
- Michael
_______________________________________________
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