Adding a Global Event

Navigation:  How to Work with Global Events >

Adding a Global Event

Previous pageReturn to chapter overviewNext page

 

Overview

 

The adding of a global event requires two major operations - the creation of the global event's structure and the adding of processes to that structure. These processes will depend on the global event's purpose.

As an alternative, you can import a global event you have created in another project and exported into the "Library Manager". See To Import a Global Event.

 

By definition, a global event is not supposed to receive any user input. Therefore, screens/controls are NOT allowed in a global event.

 

 

Create short global events so they do not take long to execute and run the risk of interfering with the application flow.

 

 

 

To Add a Global Event

 

Step-by-step

 

1. Go to the "Procedures" module.

 

2. Right-click the module's empty area or the "Global Events" section name.

 

Example of a right-click menu in an empty area of the "Procedures" module:

 

 

3. Click "Add Global Event" to open the corresponding properties window.

 

 

4. Maintain the suggested name or enter a new one in the "Name" option.

 

The name for the global event MUST be unique throughout the project (ex: You cannot have a global event and a global procedure with the same name).

 

 

5. In the "Period" option, define the repetition cycle (in seconds). Enter a value OR  use the arrows.

 

6. If required, check the "Auto Start" option. This means that the global event starts at the same time as the application.

 

7. If required, enter any relevant notes concerning the new global event.

 

8. Open the "Event" tab.

 

 

9. Add the required processes. Use the Drag-and-Drop mechanism, the window's editing bar (the button), the selected row's right-click menu ("Add/Insert..." option) OR  double-click an empty row to open a process list.

See Adding Processes to Routines, "Routine In", "Routine Out", Local Procedures or Global Events.

 

10. Click to apply OR to abort the operation.