To give the users of your applications the possibility to performs actions on it, you must do two things:
This means that every application action consists of two components – a trigger and an action proper:
Lycia supports two types of application actions:
Lycia provides two ways to define an action and 6 ways to create a trigger.
All not-predefined actions are defined by the clauses COMMAND, ON ACTION, and ON KEY.
ON ACTION and COMMAND clauses are available for these statements:
For example,
...
ON ACTION act1
DISPLAY "one"
...
ON KEY clauses are available for these statements:
To create a trigger for the action, you can use these ways:
You can learn details about these ways here.
Attributes of the application actions
Every action has a set of attributes which determine the appearance and behavior of the application action.
These attributes are
You can learn details about the attributes of the application action here.
There are 7 ways to set and modify the action's attributes:
These are all possible ways to modify the attributes of the application action.
However, not every way can be used to modify the attributes of all the application actions – they depend on the trigger.
You can learn details about how to modify the attributes of the application action here.