Re: NSPopUpButton disabled items won't stay disabled
Re: NSPopUpButton disabled items won't stay disabled
- Subject: Re: NSPopUpButton disabled items won't stay disabled
- From: Ondra Cada <email@hidden>
- Date: Sat, 31 Aug 2002 16:01:29 +0200
On Saturday, August 31, 2002, at 08:51 , Donald Hall wrote:
I have a popup menu that has some items that must be disabled depending
on the state of other objects in my program. I can set them disabled
programmatically, but as soon as I click on the popup, they become
enabled again and I can select them when I shouldn't be able to. What
must I do to keep them disabled?
Looks like menu validation strikes back. Either (preferrably) use it to
disable/enable items, or switch it off and do it manually.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.