Skip to content
Private alpha
Documentation — Interactions

Documentation

Interactions

The Interactions tab says what the application does when the user acts: for each event (a click, an input, a window opening…), you chain actions picked from a palette, without writing code.

Choosing an event

On the left, choose the window, then an event in the tree: the window (Opening, Closing), then each of its controls and their events. The "Used events only" switch shows only those that already have actions.

EventWhen
Opening, Closingthe window opens or closes
Clickclick on a label, a button, an image, a link
Double-clickdouble-click on a row of a list or table
Changethe value of a field, check box, slider… changes
Validation (Enter)Enter key in a text field
Selectionanother item is chosen in a list, a selector, a table

Chaining actions

In the center, the timeline shows the event's actions, run from top to bottom. Click an action in the "Add an action" palette to add it; its parameters are set on the right. The Move up, Move down and Delete buttons rearrange the timeline.

The 26 actions

Windows

ActionParameters
Open a windowthe window; "Close the current window"
Close a windowthe window (by default, the current window)
Quit the application—

Dialog

ActionParameters
Show a messagethe message; the kind: Information, Warning, Error
Ask for confirmationthe question; the "If yes" and "If no" actions
Send a notificationthe title and the message

Controls

ActionParameters
Change a propertythe control, the property (value, text, visible…), the new value
Show / hidethe controls; visible or not
Enable / disablethe controls; enabled or not
Clear fieldsthe controls (none checked: all)
Check required fieldsthe fields; an optional message. If one is empty, the following actions are not run
Set focusthe control

Data

ActionParameters
New recordthe entity; clears the bound controls
Save the recordthe entity; inserts or updates the record from the bound controls
Load a recordthe entity, the record key
Delete the recordthe entity; "Ask for confirmation"
Browse recordsthe entity; First, Previous, Next, Last
Fill a tablethe table; an optional condition

Reports

ActionParameters
Print a reportthe report; "Print preview"
Export a reportthe report; the format: PDF, ODT, ODS, ODP, ODG, DOCX, XLSX or PPTX; the file (empty: the report name)

System

ActionParameters
Open a web addressthe address
Copy to clipboardthe text
Change languagethe language

Logic

ActionParameters
If… then… elsethe condition; the "Then" and "Else" actions
Call a procedurethe procedure of a scripts module; the arguments, separated by commas
Argile codea few lines of Argile, with highlighting and completion

Conditions and branches

"Ask for confirmation" and "If… then… else" have two branches. Click a branch: new actions will go into it ("— new actions will go here"). Branches can be nested as deeply as needed.

Expressions

The "value", "condition", "key", "address"… parameters are Argile expressions: a text in quotes, a number, the value of a control, a calculation.

"Hello " + SAI_Nom.value
NUM_Quantite.value * 2
Client.Actif and Client.Age >= 18

Each expression is checked as you type: "Valid — type string", or the exact error ("Expected type boolean, found integer"). A control of another window is referred to with its window's name: FEN_Clients.SAI_Nom.value.

Converting to code

"Convert to code" replaces the event's actions with a single, equivalent "Argile code" action, to go further than the palette allows (see Argile). Message texts join the message catalog, with their translations. The conversion only happens when you ask for it and can be undone with Ctrl+Z.