DIAdem Help

Method: Stop for Cursor

  • Updated2024-09-12
  • 2 minute(s) read

Method: Stop for Cursor

Stops the cursor movement automatically along the enabled curve in the enabled area, or stops the video in the enabled area.

Only use this method if you set the parameter Sequential=FALSE when you run the cursor or the video with Play or RePlay.

Object.Stop
ObjectCursor
Object with this method

The following example plays a video repeatedly until the user confirms the message:

VBScriptPython

 

Dim oMySheet: Set oMySheet = View.ActiveSheet
oMySheet.ActiveArea.DisplayObjType = "Video"
oMySheet.ActiveArea.DisplayObj.FileName = ProgramDrv  & "\Examples\Documents\Austin_Drive.wmv"
oMySheet.Cursor.XRangeMode = "automatic"
oMySheet.Cursor.GotoStart
Call WndOpen("VIEW")
Call oMySheet.Cursor.RePlay(FALSE)
Call MsgBoxDisp("Stop")
Call oMySheet.Cursor.Stop