You are here: Core Reference > Coding > Scripting > Form.Init

Form.Init

The Form.Init function allows a script to clear the Form and add a defined title.

Syntax

Form.Init(Title)

Description

Clears the Form and adds a specified title.

Arguments

Title {string}

The Title can be seen at the top of the Form (in the title bar). It can be entered manually, or can be a variable that contains a text value.

Returns

None.

Example:

Form.Init("Alarm Set")

This clears the Form and adds the title: Alarm Set. The script would then have Add functions to add text boxes, fields and so on to the Form, which would be followed by the Show function that displays the Form and its contents.


ClearSCADA 2015 R2