Instance Method

disableKeyEquivalentForDefaultButtonCell

Disables the default button cell’s key equivalent, so it doesn’t perform a click when the user presses Return (or Enter).

Declaration

- (void)disableKeyEquivalentForDefaultButtonCell;

See Also

Managing Default Buttons

defaultButtonCell

The button cell that performs as if clicked when the window receives a Return (or Enter) key event.

- enableKeyEquivalentForDefaultButtonCell

Reenables the default button cell’s key equivalent, so it performs a click when the user presses Return (or Enter).