Global Action Sets

Kalipso - Developing - Specific options - Global Action Sets

A Global Action Set is a set of Actions; it’s what in other languages can be called a procedure. A Global Action Set can be executed anywhere from your Project, so you’ll be limited to use Global Variables. This means that Actions of Global Action Sets cannot reference Controls because they could not exist in the Form who calls the Global action Set.

A Global Action Set can also be used by a Timer, so that it is periodically executed.

When you click on the option in the Project menu, the following window appears:

As you can see from the image above, the window shows a list with any available Global Action Set already created or allows to create/modify a global action set. This Global Action Sets are associated to the project. To start, the following icons are available:

  • Add - Adds a new Global Action Set (opens a new window)

  • Modify - Modifies a selected Global Action Set in the list.

  • Delete - Deletes a selected Global Action Set in the list.

  • Copy - Copies a selected Global Action Set in the list.

  • Paste - Paste a copied Global Action Set.

  • Duplicate - Duplicates a selected Global Action Set.

  • Check Usage - Performs a search of where the Global Action Set selected in the list is used through the project.

In the example image of the window you can see a Global Action Set created. When you click on one already created in the list, its contents appear on the right side. This way you can easily see what the selected Global Action Set reports and then just use its name.

Add / Edit

When you click on add a new Global Action Set a new window appears that allows you to create or modify it and then add it to the project. This window is similar to the one that appears when modifying an already added Global Action Set. Therefore, the process for both is described simultaneously. Thus:

As you can see from the image above, the window shows a structure similar to the association of Actions to the project.

Effectively the process is the same with the difference that in this area the Global Action Set is created or modified that can be used in different contexts in the project. Just add a name and description to make it easier to identify and use.

Be careful when copying and pasting lines of code from forms into action sets, as there are functionalities that are not compatible and may cause unexpected results. You should check each action to see what is compatible.

To access the description of how to use this area you can consult it here.

Last updated