Checking for an Interrupt
You may check to see if the Cancel button has been pressed with the function Check_StatusPanel. If it returns a non-zero value, the button has been pressed.
Get Check_StatusPanel of ghoStatusPanel to bStopIt
If bStopIt ... end process
If the Allow_Cancel_State property is false, the Cancel button is not displayed, and the process cannot be interrupted by users. This property is true by default in business-process objects, and false in report objects.