Re: Making an NSButton appear selected.

2009-06-05 Thread Tom Hohensee
I think what you want is to set the button to enabled or not through the action of another button? Since NSButton is a subclass on NSControl you could use the setEnabled method. interface IBOutlet NSButton *Abutton; IBOutlet NSButton *Bbutton; implementation -(IBAction)someA

Re: Making an NSButton appear selected.

2009-06-05 Thread Benjamin Dobson
On 5 Jun 2009, at 12:41:10, Shraddha Karwan wrote: I have a series of buttons of type NSButton. When a particular button is selected, I want to make it appear gray as in this button is selected. When another button is selected, I need to change the color of the previously selected button fr

Making an NSButton appear selected.

2009-06-05 Thread Shraddha Karwan
I have a series of buttons of type NSButton. When a particular button is selected, I want to make it appear gray as in this button is selected. When another button is selected, I need to change the color of the previously selected button from Gray to normal. By gray I mean textured. How do I achiev