Forms
Create a form
To create a new form, follow these steps:
-
Open the application folder where you want to add the form.
Do this in the Repository window. -
Select the Forms folder (or a subfolder), and insert a new form.
Right-click the selected (sub)folder, and then select Insert <Form Type> Form from the pop-up menu. The following dialog box appears:
-
Specify the form parameters in the dialog box.
In Copy From, you can select an existing template to copy into the new form. In the type panel, define the form type you want to create: application, insertable, popup, or template. If you selected a subfolder for a specific type before opening the dialog box, that type is selected automatically.You can create either a graphical form or a text form. In most cases, a graphical form is the best option because it provides more layout options. Use text forms in the following cases:
- To paint the layout for multiple fields at once (as commonly used in LINC environments).
- To display forms on terminals that can't handle graphical forms (for example, many portable devices).
- Click OK to add the form and define its settings.
-
Select the nodes to set form options and implement code.
For details about these screens, see the links under Adjust a form. -
Save the form.
Save buttons are available on the top toolbar of Developer Studio.
Adjust a form
When you double-click a form, the following options appear:
Form Types
Form Options
Files
Print Outputs
Application Link
Documentation
Screen Layout
Help Screens
Included Forms
Print Layouts
Relations
Implementation
Form Options
Files
Print Outputs
Application Link
Documentation
Screen Layout
Help Screens
Included Forms
Print Layouts
Relations
Implementation
You can convert text forms to graphical forms by selecting the convert option in the layout screen. You can't convert graphical forms to text forms.
You can't change Application forms to Popup forms, or Popup forms to Application forms. Instead, create a copy of the form with the other type from the form's right-click menu in the repository tree view.
Delete a form
You can remove a form from the repository through Revision Control.
