OnHide

<< Click to Display Table of Contents >>

 

OnHide

OnHide()

This event occurs when a Screen is about to be closed. Use this event to perform any operations before closing that Screen object. This event may occur on several situations:

When a Screen is replaced by another one, by using the OpenScreen or ShowScreen methods

When a user closes a window where that Screen is

When the Close method is used from a Screen object

When an Elipse Power Viewer is closed or quit

 

The next script contains an example of using this event.

Sub InitialScreen_OnHide()
  Application.Exit()
End Sub

Was this page useful?