Actions
Kalipso - Developing - Form - Form properties - Actions
Last updated
Kalipso - Developing - Form - Form properties - Actions
Last updated
In this tab you can add actions to the active form.
Actions are the core of Kalipso. All logic of a Project is defined with Actions. Actions are what in other language you would call “code”. Kalipso has over 400 Actions and is constantly growing. You can use Actions with Controls, Global Action Sets and Local Actions Sets.
When using Actions in Controls, the Actions must be associated with an Event. An Event is what will trigger the Actions.
Actions available on Kalipso are classified by groups and subgroups (see more here.). To add an Action, select the Group where it is among the buttons on the left side, then drag and drop the Action that you want from the tree to the table at right; in this case, the Action will be added to the line immediately below the line under the mouse.
Another way to create an Action is to double click it on the tree; in this case, it will be added immediately below the selected line on the table.
A third way, for more experienced users is to set the focus on the table and just start typing the Action name; in this case, the matching Actions will show on the combo above the table.
The window is divided into three parts:
The left side provides the groups of available actions that, when selected, presents the actions available by subgroups on the right.
The area on the right shows the actions that can be used in the Event Zone divided by subgroups. These actions are those that make up the previous selection of the action group.
Event zone where the area for applying actions is available.
Center bar options
Search - Action research area based on what is written. Indicates Actions suggestions as you type the name.
Undo and Redo - Arrows indicating the two functions.The undo (left arrow) is used to reverse a mistake, such as deleting the wrong word in a line. The redo (Right arrow) restores any actions that were previously undone using an undo.
Import - Option to import a set of other objects already produced in Kalipso or features into the active form. When opening, the following options appear, as the image illustrates:
Options:
Form - Imports actions from another form of the project.
Global A. Set - Import a "Global Action Set"
Local A. Set - Import a "Local Action Set"
Control - Import a Kalipso "Control"
Add Event - Adds an Event . To know more about Events access here.
Options:
Key - Adds a key event to the actions
Barcode - Adds a barcode event
Bluetooth - Adds a bluetooth event
Voice - Select the words to use as an event
Sensors - Adds a sensor event
NFC - Adds a NFC event
Others - Adds a non-categorizable event in the previous options.
Find - Performs a search on the actions event zone. A square with the number of occurrences of this word or expression appears on the right side.
Options in the lower left corner
My List - The "My list" option allows viewing in the second area of the window the actions that the user uses most often. In other words, it is easier access to favorite actions or for more frequent use. To add an action to the list see the pop-up menus below.
All - The "All" option when clicked, displays in the second area of the window all the subgroups of the actions
Actions are pre-build therefore you cannot define a new Action. If you have the need of an Action who doesn’t exist on Kalipso, please contact us.
To make it easier to use this option, Kalipso provides pop-up menus that aim to optimize the user experience to more easily and effectively meet the objectives. In this way:
When you right-click on an action (in the second area of the window where it appears) the following options appear:
Add To My List - Adds the selected action to the My List option.
Move First - In the option "My List" it puts the selected action to first place.
Move Up - In the "My List" option, move the selected action up in the list.
Move Down - In the "My List" option, move the selected action down in the list.
Move Last - In the option "My List" it moves the selected action to last in the list.
Sort Alphabetically - In the "My List" option, sort actions in alphabetical order.
Remove From My List - In the option "My List" removes the selected action from the list.
When you right-click, in the Event Zone on an event, the following options appear:
Paste - Paste a previously copied action
Delete Event - Delete the selected event
Comment All - Puts all event actions in comment mode
Uncomment Event - Remove comment mode for all event actions
Insert Separator - Inserts a separator (space) between the actions of an event
Import - Import a Local Action Set from another form
When you right-click, in the Event Zone on an action, the following options appear:
Copy - Copy the selected action
Copy as Text - Copy the selected actions as text to the clipboard so you can paste in any other application.
Paste - Paste a previously copied action
Delete - Delete the selected action
Comment - Puts the action in comment mode
Comment Event - Puts all event actions in comment mode
Comment All - Comments all selected actions
Insert Separator - Inserts a separator (space) between the actions of an event
Insert Breakpoint - Inserts a visual break.
Expand - Expands the line with the action
Collapse 'On Error' - Collapse the line with the action to the part of the error indication.
Collapse Default 'On Error' - Collapses the selected action. Similar to clicking the "minus" sign on the left side of the selected action.
Expand 'On Error' - Expands the selected action if it is collapsed. Similar to clicking the "plus" sign on the left side of the selected action.
Import - Import a Local Action Set from another form
Open Action Set - Opens the possibility of including an action set already made.
Convert to - Some actions can be converted to other similar actions. For example you can convert an "IF" to an "Else IF".