OnHide

<< Click to Display Table of Contents >>

 

OnHide

OnHide()

This event occurs when a Screen is about to be closed. Use the OnHide 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

 

Example:

Sub InitialScreen_OnHide()
  Application.Exit()
End Sub

Was this page useful?