ModeChanged
- Last UpdatedNov 17, 2021
- 1 minute read
The ModeChanged event is triggered when the run-time user changes tabs on the Results pane in the control.
Syntax
aaHistClientQuery.ModeChanged(integer mode);
Parameters
mode
The type of tab for which changes are detected. 0 = The focus has changed to the Query or All Queries tab; 1 = The focus has changed to the Results tab.
Remarks
To retrieve the value of an event parameter in the InTouch HMI software, refer to #ThisEvent.<Event Name><Parameter Name> inside the script for the respective event. For example, to read the value of the mode parameter, use a statement like the following:
MyIntTag = #ThisEvent.ModeChangedmode;