How do I set the "default button"(activated when the user presses RETURN), OR:My buttons which used to be default turn dark grey.
----------------------------------------------------------------------
There are two ways to set the "default" button,A. [myButton setKeyEquivalent:@"\r"];B. [myWindow setDefaultButtonCell:[myButton cell]];Version 'B' is better, since, with Version A, if you turn off thekeyEquivalent (i.e. set it to the empty string or something) then thebutton will end up a dark-grey color, depending on how dark the bluepulsing was when the switch occurred.