ClickHit

Examples


The ClickHit command represents the mouse pointer clicking a field, line or button. Pressing the ENTER key while focused on a field can also produce this command.

Syntax

ClickHit field field_name { item number # option_name | sitem option_name | litem number | item number # node_label level }

Parameters

field_name - The name of the field that was clicked.

• One of the following clauses is included if the item clicked was a list-type field:

item number # option_name - This clause is included if the field was a list box, drop-down list, button drop list or visual switch. The number parameter indicates the position of the item selected in the list. The name of the list item is given in the option_name parameter included in the comment at the end of the ClickHit command. This is shown in the example.

sitem option_name - This clause is included if the field was a combo box. The option_name parameter is a string that indicates the item selected in the list.

litem number - This clause is included if the field was a multi-select list. The number parameter indicates which items were selected in the list.

item number # node_label level - This clause is included if the field was a tree view field. The number parameter is an integer indicating the order the node appears in the field. The first node's index is 1, the second node's index is 2, and so forth. The index is based on a count of all nodes in the tree view field, regardless of whether the nodes are currently visible. The node_label parameter is a string indicating the text label applied to the node. The level parameter indicates the node's hierarchical level, 1 for root-level nodes, 2 for their children, and so forth.


Documentation Feedback