VWorks User Guide : Creating protocol forms for operators : Setting the form properties

Setting the form properties
About this topic
This topic describes the properties that appear in the bottom corner of the Form Designer window and the Editing .VWForm windows.
To create or edit forms, you must have VWorks Technician- or Administrator-level access. You should also have an understanding of how to create protocols in the VWorks software.
This topic describes the form properties that appear at the bottom of the Form Designer windows.
Figure. Form properties in the Form Designer and Editing .VWForm windows
 
For more details on creating forms, see Workflow for creating or editing a form.
Procedure
To set the form’s properties:
1
In the Form Designer window or Editing .VWForm window, specify the context for the JavaScript variables associated with all the controls in the form:
Context of the running protocol. Clear the Use global context for variables check box. JavaScript variables with the same name in different protocols will not be affected by the properties you set for the controls in this form.
Individual controls in the form can still specify the global context.
Global context for all variables in the form. Select the Use global context for variables check box. For example, if the form is for a runset, you must use the global context.
All controls in the form will use the global context for their JavaScript variables and scripts, regardless of the settings for the individual control properties.
Any protocol that uses the global context and contains JavaScript variables of the same name will be affected by the changes you make to the properties for the controls in this form.
 
For more details on JavaScript context, see Understanding JavaScript context in form design.
2
3
Select the Show log in Full Screen mode check box to include the logs.
Clear the Show log in Full Screen mode check box to hide the logs.
4
To change the background color of the form, click Set background color, and then select the color from the Color dialog box.
5
Click OK. If this is the first time to save the form, the Save As dialog box opens. Select a storage location, type a name for the form, and click Save. The software saves the form as file type .VWForm.
If you are editing a previously saved form, click File > Save after the Form Designer closes.
Related information