OTX Reference  
OpenTestSystem.Otx.Extensions.HMI.Actions.CloseScreen Class Reference

Close Screen More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.HMI.Actions.CloseScreen:
Inheritance graph

Public Attributes

ScreenVariable screen
 Cardinality [1]
Variable of type screen, which contains the reference to a form (screen). More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation
OtxLink validFor
 Cardinality [0..1]
Validity of ActionRealisation. More...
 

Detailed Description

Close Screen

The CloseScreen activity will cause the runtime system to dismiss the screen and release all resources associated to the Screen.

After the execution of the CloseScreen action, the screen will not send any more events for processing to the OTX sequence and will not allow any more user interaction to be performed.
Closing an uninitialized or already closed screen will perform no operation and report no errors. It will be for all effects a NOP.

Syntax
HMI.CloseScreen(ScreenVariable screen);
ScreenVariable screen
Cardinality [1] Variable of type screen, which contains the reference to a form (screen).
Definition: HMI.cs:1331
Examples
// Signatures
package HMI.ScreenSignature ScreenSignature1(ref Integer ScreenInOutParameter1);
// Global Declarations
public procedure main()
{
// Local Declarations
HMI.Screen ScreenHandle1;
Integer Integer1;
// Flow
HMI.OpenScreen(ScreenHandle1, ScreenSignature1, { ScreenInOutParameter1 = Integer1}, false);
HMI.CloseScreen(ScreenHandle1);
}

Member Data Documentation

◆ screen

ScreenVariable OpenTestSystem.Otx.Extensions.HMI.Actions.CloseScreen.screen

Cardinality [1]
Variable of type screen, which contains the reference to a form (screen).