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.
- Open the form.
- Select from the menu.
- Draw out a Button in a container on the form.
- Provide the name of the action in the name property for the Button.