Re: newbie: why would a menu item be grayed out?
Re: newbie: why would a menu item be grayed out?
- Subject: Re: newbie: why would a menu item be grayed out?
- From: Adhamh Findlay <email@hidden>
- Date: Tue, 15 Jun 2004 07:37:27 -0500
Mark A.Stratman wrote:
You may have to call setAutoenablesItems:NO
on the menu that contains that menu item before doing [newItem
setEnabled:YES]. Unfortunately this turns off auto-enabling behavior
for all of its items.
I haven't found a good way to programmatically enable/disable menu
items otherwise, though.
Thanks Mark. That did the trick. Weird.
Adhamh
_______________________________________________
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.