Inserting widgets - text fields
Let us create a form to show information about persons, i.e. a form connected to the Persons table.
As the form is to be designed to present data obtained from the Persons table, we need to place appropriate fields onto it. To do this we will use the buttons on thetoolbar. Each button corresponds to a single widget type.
- Click button on the toolbar.
- Click on the form surface with the left mouse button. A new text box widget will be placed at the point where you clicked. Before you release you can drag your mouse to specify a desired size for the widget.
- If needed, move the inserted widget using drag & drop to the desired position. You can resize the widget afterwards by dragging one of the small boxes appearing near its corners. Note that the boxes are only visible when the widget is selected. If you select another widget or the form surface, the boxes disappear.
- Click the toolbar button again and click on the form surface to insert another widget. Repeat this action until you have a total of five text boxes on your form. (For the sake of simplicity we limit ourselves to five data fields).