4D v16.3On System Event database method |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
On System Event database method
On System Event database method
The On System Event database method is called each time a system event occurs. This concerns all 4D environments: 4D (all modes) and 4D Server, as well as 4D applications that are compiled and merged with 4D Volume Desktop. To process an event, you must test the value of the $1 parameter within the method and compare it to one of the following constants, found in the Database Events theme:
These events are generated when a 4D application changes level, irrespective of the user action initiating this change. For example:
It is absolutely necessary to declare the $1 parameter (longint) in the database method. The structure of the database method code is therefore: // On System Event database method
|
PROPERTIES
Product: 4D
HISTORY
Created: 4D v13 ARTICLE USAGE
4D Language Reference ( 4D v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||