Skip to content

Removing the Status Panel

The status panel is removed by receiving the message Stop_StatusPanel.

Send Stop_StatusPanel of ghoStatusPanel

When a process is complete, you must remember to remove the status panel. There are other times as well when you must remove the status panel.

It is very important that you always remove the status panel before attempting to perform any user input in the underlying process.

If you wish to respond to the cancel button by asking if the process should be stopped, you must first remove the status panel (send Stop_StatusPanel), and then ask the verification question. If the process should continue, the status panel must again be displayed (send Start_StatusPanel).

Another situation where user input might be "unexpectedly" required is during an error. The normal DataFlex error handler pops up an error message box. This is usually not a desired occurrence in any batch process, and a method for controlling this is presented in the next section.

See Also

Using the Status Panel