OnStopRunning

<< Click to Display Table of Contents >>

 

OnStopRunning

OnStopRunning()

Occurs when the execution of an instance of an object finishes. Use this event to perform completion operations for an object. The next script contains an example of using this event.

Sub InternalTag1_OnStopRunning()
  ' When InternalTag1 object finishes
  ' it assigns False to InternalTag2
  Set tag2 = Application.GetObject("Data.InternalTag2")
  tag2.Value = False
End Sub

Was this page useful?