Specifying default and cancel buttons

You can define a button as the default button in a form and you can define a Cancel button.

Default button behavior

If you define a default button, pressing the Enter key when the focus is not on another button is the same as clicking the default button. If the focus is on another button, pressing enter is the same as clicking the button that has focus.

InfoMaker places a bold border around the default button (or the button with focus if you explicitly tab to a button).

Cancel button behavior

If you define a cancel CommandButton, pressing the Escape key is the same as clicking the cancel button.

StepsTo define a default or cancel button:

  1. Select Properties from the command button’s pop-up menu and then select the Default or Cancel check box on the General page.