|Download Help (Windows Only)|
ControlName_DisplayExecution ( exec, reason)
Occurs when a visible execution starts, when an execution breaks, or in response to a UIMsg_OpenWindow or a UIMsg_GotoLocation user interface message. Use the reason parameter to find out why this event was called.
Use this event to display the execution in a window by setting the ExecutionViewMgr.Execution property on the ExecutionView Manager control for the window.
exec As Execution
[In] Specifies the execution to display.
reason As ExecutionDisplayReasons
[In] Specifies the reason why the event was generated. Refer to the ExecutionDisplayReasons enumeration for more information about reasons for execution actions.