You might like to check out doing it using validateUserInterfaceItem: or 
validateMenuItem:

HTH

Gideon

On 14/06/2010, at 11:23 AM, Tony Romano wrote:

> Binding a menuitem's hidden attribute to the selection doesn't work in the 
> case of a context menu because the selection happens as it changes and before 
> the menu is displayed.  There is no state.  Other than adding an ivar and 
> binding the hidden state to it, is there another way?  Can't seem to find 
> anything via a search.
> 
> TIA,
> -Tony
> 

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to