Add buttons to form

If you add a widget to your form that can trigger an action, such as a Button, you can associate an action from the generated program to the widget.

  1. Open the form.

  2. Select Widget>>Button from the menu.

  3. Draw out a Button in a container on the form.

  4. Provide the name of the action in the name property for the Button.

This figure is a screenshot showing an added button.

Figure 1. Add Button