Specifications

CHAPTER 20 Enhancing Forms
Users Guide 567
To associate an action with a button:
1 Move the pointer to the button you added to the form, display the pop-up
menu, and select Action.
The Select Action dialog box displays the actions that are provided with
the form style you are using:
2 Select the action from the list.
3 If the action takes parameters, click the Parameters button and supply the
parameters.
4 Click OK.
You return to the Form painter Layout view.
For information about the actions provided with the built-in form styles, see
“Actions in forms” on page 527. If you need information about actions
provided by a style defined in your organization, talk with the style’s developer.
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.
To define a default or cancel button:
Select Properties from the command button’s pop-up menu and then select
the Default or Cancel check box on the General page.