IsScreenOpen

Verifies that a project screen is open.

Function Group Execution Windows Embedded Thin Client
IsScreenOpen Module Activity Asynchronous Supported Supported Not supported
Note: This function cannot be used with Tasks or in the Global Procedures script.

Syntax

IsScreenOpen(strScreen { | ,optNumID } )
strScreen
The name of the project screen to be verified.
optNumID
The specific instance number of the screen. (This number is assigned when the screen is opened with the Open function.)

This is an optional parameter. If no value is specified, then the default ID is 0.

Returned value

0 Screen is not open.
1 Screen is open.

Examples

Tag Name Expression
Tag  IsScreenOpen( "main" ) // Is "main" screen open?
Tag  IsScreenOpen( "main", 10 ) // Is "main" screen with ID 10 open?