4D v16Progress SET ON ERROR METHOD |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16
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)
See also
|
PROPERTIES
Product: 4D
HISTORY
ARTICLE USAGE
4D Progress ( 4D v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||