4D v13Progress SET ON ERROR METHOD |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13
Progress SET ON ERROR METHOD
Progress SET ON ERROR METHOD
The Progress SET ON ERROR METHOD method designates a method to execute in the event of an error when using progress bars (for example id unknown, incorrect number of parameters, etc.). In methodName, you pass the name of the project method of the host database to be called in the event of an error. This method is shared by all the progress windows of the application. Note: Since the Progress SET ON ERROR METHOD method belongs to a component, you must remember to assign the "Shared by components and host database" property to the methodName method; otherwise an error is returned. The methodName method is called with three parameters:
Here is an example of a method called in the event of an error. This method is declared as "shared" in Design mode: C_LONGINT($1) |
PROPERTIES
Product: 4D
INDEX HISTORY
SEE ALSO |
||||||||||||||||||||||||||||||||||||||||||||||||||||||