-
In the tree, select a 2D panel.
-
From the 2D Panel section of the action bar, click Edit Event
Rules
.
The Events dialog box appears. The
Elements area shows the structure of the SVG file
associated with the 2D panel.
-
In the Elements area of the Events
dialog box, select a graphical element or a group from the tree.
-
To create a rule, click New in the
Rules area.
Note:
Click Edit to consult or edit an existing
rule.
-
In the New Rule dialog box:
-
Enter a title.
-
In the Condition field, select a type of action
between click and
dblclick.
-
For each port requiring the setting of an action, select the port in
the instance tree and enter a valid value for the port.
-
To create the rule, click OK.
Note:
All entries have to be valid for a rule creation.
In the Events dialog box: - The rule title appears in the Rules area.
- In the Elements area, the SVG element appears in green and bold, and its
parent hierarchy appears in bold.
Hover over the rule
title to display its content. Note:
An element is displayed in red color, if
an error appears on a rule.
-
From the 2D Panel section of the action bar, click Save
to save the rules.
|