Specifications

Adding controls to the form
566 InfoMaker
Adding command buttons to a form
You can add command buttons to a form. Command buttons are used to carry
out an action. For example, you can add a button that prints the current form.
To add a button to a form:
1 Click the Button button in the Controls drop-down toolbar, or select
Insert>CommandButton from the menu bar.
2 Click where you want to place the command button.
A button with the text none displays. The text none also displays in the text
box in the StyleBar and on the General page of the Properties view.
3 Type the new text.
4 (Optional) Specify the command button as a default or cancel button.
For more information, see “Specifying default and cancel buttons” on
page 567.
Making the command button work
To make the button do something when it is clicked when you run a form, you
associate an action with it. Each form style has its own set of actions you can
choose from for a button.