I am building an app that has two NSPopUpButtons as part if the view. The 1st one is titled userChoice1 and the 2nd is userChoice2. I want userChoice2 to be disabled until the user makes a choice from userChoice1. How do I program the 2nd button to be disabled and then enable it. Is there a state property for the NSPopUpButton? I have searched the Apple documentation and API reference in Xcode and can't seem to find the property I need.
Thanks Keith
NSPopUPButton inherits from NSControl which has a property
setEnabled:
this is what you are looking for.