Up | QueryStart | QueryStop | QueryClose | QueryUserEvent

 

  

 
QueryStart
The Query Start event is called before Scorpion is set in Running mode.

Example 1: User to 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.