Handling events

When the user interacts with the user interface (e.g.: clicks on a button, or changes a value), the back-end application is notified via an event that carries data about the origin of the event and the status of the user interface. Whenever an event occurs, the guiEvent function is called on the server. By implementing this function, user-defined functionality can be provided to the application.