ApplicationMgr.DisplayCustomRunTimeErrorDialog
- Updated2025-07-21
- 1 minute(s) read
ApplicationMgr.DisplayCustomRunTimeErrorDialog
Syntax
ControlName_DisplayCustomRunTimeErrorDialog( ctxt, breakExec, doNotShowAgainForExecution, doNotShowAgainForBatch, rteOption, showDefaultDialog)
Applies To
Purpose
Occurs before TestStand launches the default run-time error dialog box. You can use this event to launch a custom run-time error dialog box.
Parameters
ctxt As SequenceContext
[In] Specifies the SequenceContext in which the run-time error occurred.
breakExec As Boolean
[In/Out] Set this parameter to True to pause the current execution.
doNotShowAgainForExecution As Boolean
[In/Out] Set this parameter to True to set the Execution.RTEOptionForThisExecution property to the value of the rteOption parameter.
doNotShowAgainForBatch As Boolean
[In/Out] Set this parameter to True to set the Thread.SetBatchRTEOption method to the value of the rteOption parameter.
rteOption As Long
[In/Out] Use the RTEOptions constants to specify how TestStand handles the run-time error.
showDefaultDialog As Boolean
[In/Out] Set this parameter to True to launch the default run-time error dialog box.