Form Templates
The current form layout can be saved to a file as a template using the Create Template option in the Options menu. The default file extension is MFT. The template contains all controls and all control properties except for the following:
The above properties will have empty property values when loaded from the template file.
If you load a template into an existing form, the template file will overwrite all the form settings, and all the controls that were on the form will be deleted.
Form Templates are limited to GUI forms. HTML templates are not accepted by the GUI Form Editor.
-
Open up the form you want to save as a template.
-
Select Options->Create Template.
-
When the file dialog box appears, give the file a name. The default extension is .mft.
-
Click Save.
-
Go to the form in which you want to add the template
-
Select Options->Load template.
-
When the file dialog box appears, select the template you want to use.
-
Click Open.
Form template functionality is available only for the Report Forms (Class > 0 forms).
Since version: 3.x
The template will be loaded on your form. The controls will all be on the form as in the original form. You will still need to attach them to the variables that exist in this task.
|
Another good way to standardize your forms is to use form and control models. These not only allow you to build forms that all look alike, it also gives you the ability to change your standards and have all the existing forms and controls change automatically to meet those standards.
|