You use the Form Designer to modify the layout of data entry windows. You can add or remove data fields, move fields around, change the size of field controls, modify fonts or colors, etc. To activate the Form Designer, either select the appropriate table in the 'Database Setup' window (Tools->Database Setup) and click the Form Designer button, or choose File->Form Designer in the actual data entry window.
The Form Designer makes extensive use of popup menus. To display a popup menu, right-click the form background or a form object. You can also specify the text formatting (font, font size, color) from the Format toolbar. This formatting affects all selected objects.
Before you start modifying a form, we recommend you backup the original layout to a file by choosing Save to File from the File menu. If you later decide you want to revert to the original layout, you can load the form layout file with the Load from File command.
There are 7 object types you can add to a form:
|
The text object is usually linked to a data field, but you can also use it, for example, to add a heading to the form. When you add a data field, the program will by default also add a corresponding text label (you can disable this). The text label is linked to a data field by the Field property, and the actual field name is displayed (and automatically updated if you rename the field). You can override this behaviour by manually filling in the Text property if you want to display a different text. |
|
This is the form object you will use the most. When you add a data field, the user interface control for the selected field is added to the form. The control type depends on the actual type of field. For a standard text field (for example Face Value) this is a text box, for a lookup field (for example Country) this is a drop-down list, and for a boolean field (for example Watermark) this is a check box. When you add a data field to the form, you first see the 'Insert Field' window. Here you must select a field. When you click OK, the field object is added to the form. Note the Label option at the bottom of the window: Here you specify wether the program should automatically add a text label that will display the field name, and whether this label should be added above, or to the left, of the field control. Note: Boolean fields (check boxes) do not have a corresponding text label. |
|
The Line object will add a vertical or horizontal line. The orientation of the line is determined by the Orientation property. |
|
Use the group box to group fields. All fields placed inside a group box is part of this box, and will move when you move the group box. If you delete the group box, all fields within are also deleted. You can give the group box a title by using the Title property. The title is displayed along the top edge of the group box. |
|
Add an image object if you want to add an image to spice up the look of the form. When you add an image object, you first see the 'Select Image File' window. Here you select image file. When you click Open, the image is added to the form. Note that the image is saved with the form layout (the program does not link to an external image file). |
|
The tab control is a set of pages used to create a multipage control. You select a tab (page) by clicking one of the tabs that appear at the top of the control. The use of a tab control is especially useful if you are working with many data fields that can be grouped into two or more categories. You will probably only add one tab control to a form (although you can have several tab controls on the same form). You can add as many tabs (page) as you like to a tab control. For more information on how to use the tab control, see How to use the tab control. |
|
The button object allows you to add a button to the data entry form that will perform one of the following actions: Cancel - Will cancel any changes. Cancel and Close - Will cancel any changes and then close the window. Close - Will close the window. Any changes are automatically saved, unless "Confirm save" is checked in the Options window. Save - Will save any changes. Save and Close - Will save any changes and then close the window. You specify the type of action by updating the Type property. To change the text of the button, modify the Text property. |