Up | CameraError | ImageComplete | LoadTools | SaveTools | ToolApply | ToolVariantChange | DataInputApply | Query Events | UpdateResultPanel | UpdateIndicatorPanel | ContextChange | Mouse Events | Timer | LogMsg

QueryStart | QueryStop | QueryClose | QueryUserEvent
 

  

 
Query Events
The Query events is called to allow the intervention when Scorpion is about to do something.

The following query events are available:

Any custom action or confirmation may be performed to refuse the requested state change.

Example 1: Confirm Start

# Use the MessageDlg method to display message dialogs with a confirmation icon and 'Yes' and 'No' buttons

def Handle_System_QueryStart():
  #
  # Return 1 to refuse START command
  # Return 0 for default handling
  #
  if MessageDlg('Do you want to start',2,3)==7:
    return 1
  return 0

 

 

 
 

Scorpion Vision Version XII : Build 646 - Date: 20170225
Scorpion Vision Software® is a registered trademark of Tordivel AS.
Copyright © 2000 - 2017 Tordivel AS.