WINDEV, WEBDEV AND WINDEV MOBILEONLINE HELP
Version: 1516171819202122232425
Behavior to Implement: epDisplayMessageDisplays the error message in a window that proposes the following choices: Retry, Cancel and Stop.epDisplayMessageEndProgramDisplays the error message in a window that proposes the following choices: Stop and Restart (Stop by default).epDisplayMessageEndProcessDisplays the error message in a window that proposes the following choices: Cancel and Stop.epDisplayMessageRelaunchProgramDisplays the error message in a window that proposes the following choices: Stop and Restart (Restart by default).epCodeCurrent mode: the error is processed by programming (test the return value of the functions, using ErrorOccurred, ...)epExecuteProcedureRuns the procedure specified in parameter. This procedure must return one of the following constants:opCancel: the function triggers an error in the code used to call the procedure.opEndProcess: the error is validated and the user takes controlopEndProgram (by default): the application is stopped.opRetry: retries the statementopRelaunchProgram: stops and restarts the application.epGotoCaseErrorRuns the code defined by: CASE ERROR:epResultValidates the errors. Exits from the current process and returns the specified value (<Parameter 1> contains the value to return).epResultErrorValidates the errors. Exits from the current process, returns the specified value (<Parameter 1> contains the value to return) and propagates the error.The error is automatically processed by the higher level (if the error process is enabled) or by IF NOT xxx or IF ErrorOccurred.<Parameter 2> contains n additional error messages.epReturnValidates the errors. Exits from the current process.The error is not propagated if the automatic management of errors is enabled in the calling code.epReturnErrorValidates the errors. Exits from the current process and propagates the error.The error is automatically processed by the higher level (if the error process is enabled), or by IF NOT xxx or IF ErrorOccurred. The error is propagated if the automatic management of errors is enabled in the calling code.These constants can be combined with the epDisplayMessage constant: in this case, the error message will be displayed before running the specified behavior.
Optional parameter depending on the selected behavior.
How to get information about the error processed?
Special case
Last update: 10/31/2019
Send a report | Local help
Searching...
J'accepte les termes de la licence
All you have to do is configure your product as follows: