NSMenuItem Binding Problem
NSMenuItem Binding Problem
- Subject: NSMenuItem Binding Problem
- From: Adil Saleem <email@hidden>
- Date: Wed, 11 Mar 2009 14:43:49 -0700 (PDT)
Hi,
I am having a little difficulty with bindings of NSMenuItem. I am binding it's value with an integer variable (as it says in the documentation online). The value 1 is supposed to set it's state ON and 0 to OFF and -1 to mixed state.
However, the problem is that the actual state of the menu is not getting changed with change in the variable value. I have verified, the connection is properly created. The state of MenuItem gets changed if the value of variable is changed inside an IBAction. But if value is changed in some other normal function (non-IBAction), the state does not change.
Please guide.
Thank You
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden