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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to