• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSPopUpButton disabled items won't stay disabled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >NSPopUpButton disabled items won't stay disabled (From: Donald Hall <email@hidden>)

  • Prev by Date: Re: newbie pointer dilemma...
  • Next by Date: Re: Tracking files the right way -- NeXT apps are less intuitive with worse HI?
  • Previous by thread: NSPopUpButton disabled items won't stay disabled
  • Next by thread: Re: newbie pointer dilemma...
  • Index(es):
    • Date
    • Thread