Up | QueryStart | QueryStop | QueryClose | QueryUserEvent

 

  

 
QueryClose
The Query Close is called before the Scorpion application terminates.

The event can be used to deny termination or/and to perform an action before closing.

Example 1: Query Close

def Handle_System_QueryClose():
  #
  # Return 1 to refuse CLOSE command
  # Return 0 for default handling
  #
  if MessageDlg('Do you want to close',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.