Language Reference Guide : 4. System Classes : GhostExec Class : Terminate Method
 
Share this page                  
Terminate Method
The Terminate method stops execution of a frame and all of its child frames (called with an openframe).
This method has the following syntax:
GhostExec.Terminate()
The Terminate method triggers the Terminate event. You can use a Terminate event block to perform any required processing before the frame is closed.
It is not necessary to specify Terminate event blocks. They are simply a convenient way to ensure that frames are closed cleanly.