Screen Events

In addition to the Screen Script, you can configure logics using the Built-in Scripting Language for the On Open, While Open and On Close events for the screen (see the Screen Logic interface from the Screen Attributes dialog). If you configure the Screen Script (VBScript language) and the Screen Logic (Built-in Scripting Language), IWS will respect the following execution order:
Event Order of execution
When opening the screen
  • Screen_OnOpen() sub-routine from the Screen Script interface (VBScript language)
  • On Open from the Screen Logic interface (Built-in Scripting Language)
When closing the screen
  • On Close from the Screen Logic interface (Built-in Scripting Language)
  • Screen_OnClose() sub-routine from the Screen Script interface (VBScript language)

Screen Events