OnInactive

<< Click to Display Table of Contents >>

 

OnInactive

OnInactive()

This event occurs while Elipse E3 Viewer is inactive and if the EnableInactivity property is set to True. It is triggered when determining that a user is not using Elipse E3 Viewer for a period of time equal or greater than the value of the InactivityTime property.

In a script for this event, users may program an action to perform when Elipse E3 Viewer is inactive for a certain period of time. For example, users can perform an Elipse E3 Viewer logout after 20 minutes without activity, as in the next example.

Sub Viewer_OnInactive()
  Logout(false)
  If MsgBox("This Elipse E3 Viewer section was closed
    due to inactivity.") = 0 Then
    Application.GetFrame("").OpenScreen "InitialScreen", 0
End Sub

Was this page useful?