Difference between revisions of "Extensions.HMI.CloseScreen"

From emotive
Jump to navigation Jump to search
(Created page with "Category:HMI == Classification == {{ClassificationActivity | CloseScreen | Dismisses screen and release all associated resources | Action| OTX HMI extension |...")
 
Line 3: Line 3:
 
{{ClassificationActivity | CloseScreen | Dismisses screen and release all associated resources | [[Action]]| [[HMI|OTX HMI extension]] | [[Custom screen related actions]] | - | - }}
 
{{ClassificationActivity | CloseScreen | Dismisses screen and release all associated resources | [[Action]]| [[HMI|OTX HMI extension]] | [[Custom screen related actions]] | - | - }}
  
== Pseudo-Code Syntax ==
+
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
CloseScreen(Screen screen);
+
Hmi.CloseScreen(ScreenHandle);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 17: Line 17:
 
|}
 
|}
  
== Examples ==
+
== OTL Examples ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
CloseScreen(screen);
+
package Hmi.ScreenSignature ScreenSignature1(ref Integer ScreenInOutParameter1);
 +
 
 +
public procedure main()
 +
{
 +
  Hmi.Screen ScreenHandle1;
 +
  Integer ScreenInOut1;
 +
 
 +
  Hmi.OpenScreen(ScreenSignature1, false, {ref ScreenInOutParameter1 = ScreenInOut1}, ScreenHandle1);
 +
  Hmi.CloseScreen(ScreenHandle1);
 +
}
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 07:43, 10 February 2015

Classification

Name CloseScreen
Short Description Dismisses screen and release all associated resources
Class Action
Extension OTX HMI extension
Group Custom screen related actions
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

Hmi.CloseScreen(ScreenHandle);

Description

The CloseScreen activity causes the runtime system to screen and dismiss all resources can, with the screen connected. After images this activity is the screen not send more events to process the OTX sequence and may no longer be carried out interaction with the user.

Properties

Name Data Type Class Default Cardinality Description
Screen Screen Variable - [1] The handle of the screen that to be closed.

OTL Examples

package Hmi.ScreenSignature ScreenSignature1(ref Integer ScreenInOutParameter1);

public procedure main()
{
   Hmi.Screen ScreenHandle1;
   Integer ScreenInOut1;

   Hmi.OpenScreen(ScreenSignature1, false, {ref ScreenInOutParameter1 = ScreenInOut1}, ScreenHandle1);
   Hmi.CloseScreen(ScreenHandle1);
}

See also

OpenScreen
HighlightScreen