forms object
The VWorks JavaScript interpreter provides a forms object that can be accessed by a script. forms provides the same function as the Toggle Full Screen button, which is one of the specialized buttons that you can include on a form that runs a protocol. For more information on forms, see Creating forms for protocol operators.
Properties
The forms object has no properties.
Methods
Methods are JavaScript functions invoked through an object. The forms object has the following method.
 
Method
Description
setFullScreen(Boolean True/False)
Changes the display of the VWorks window between a full-screen view of a protocol form and a normal tabbed view.
Example:
forms.setFullScreen(true)
forms.setFullScreen(false)
Related information
 
For information about...
See...
Designing forms to run protocols
VWorks-defined functions