Dialogs Only. The pushbutton that has the input focus is activated when the operator presses the Spacebar or the Return key or clicks on the button. If no pushbutton has the input focus when the user presses Return, the DEFAULT BUTTON is activated.
This attribute specifies which of the DIALOG BUTTONS will act as the default button in the dialog. That is, which button will be activated when the user presses Return while the input focus is on this dialog, but not on another of this dialog's buttons. Set the value of DEFAULT BUTTON to -1 if you do not want any action to occur when the user presses Return while no button has the focus.
|