DialogNew Function

Help Contents

Introduction

Resets the current dialog definition back to empty.

Syntax

Informal or formal syntax:

DialogNew()

Parameters

None.

Return Value

None.

Remarks

All user interface IEC 61131-3 Programs have a dialog definition. The dialog definition describes the structure of a dialog in terms of:

A call to DialogNew() clears the current dialog definition back to empty.

To add content to the current dialog definition, use these functions:

Function Description
DialogAddLabel Adds a text label to the current definition.
DialogAddTextEditor Adds a single or multi-line text editor to the current definition.
DialogAddValue Adds a check box or text editor mapped to a variable to the current definition.

To open a dialog using the current dialog definition, use the DialogOpen Function.

Example

In the following example, the current dialog definition is reset back to empty:

DialogNew();

Further Information

Operator Actions

To learn where you can use this function.

Glossary

For the meaning of terms used in Fernhill SCADA.