• 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
NSPopUpButton disabled items won't stay disabled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPopUpButton disabled items won't stay disabled


  • Subject: NSPopUpButton disabled items won't stay disabled
  • From: Donald Hall <email@hidden>
  • Date: Sat, 31 Aug 2002 00:51:58 -0600

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?

I tried using the NSPopUpButtonWillPopUpNotification to "re-disable" the items but this had no effect.

Thanks,

Don
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSPopUpButton disabled items won't stay disabled
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: Tracking files the right way
  • Next by Date: RE: newbie pointer dilemma...
  • Previous by thread: Re: How to connect to menu items from another Nib?
  • Next by thread: Re: NSPopUpButton disabled items won't stay disabled
  • Index(es):
    • Date
    • Thread