Go to documentation repository
...
The EVENT_VIEWER object sends events given in the table. Procedure is started when the corresponding event appears.
Format of event procedure for the Event Viewer object:
...
occurs.
Description of events of the the EVENT_VIEWER object.
Events | Description |
| SHOW_ON_MAP | The operator runs selected the command "Display on the map" command |
| SHOW_VIDEO | The operator runs selected the command "Display video" command |
| SHOW_REPORREPORT | The operator runs selected the command "Show report" command |
| CREATE_REPORT | Generated if the GenerateEventInsteadOfReport registry key is set to 1 and the operator selects the selected the "Show report" command. The report does not open. See also Registry keys reference guide. |
Format of events procedure for the Event Viewer:
...
List of commands and parameters for the the Event Viewer object is presented in the following table:
Command – —command description | Parameters | Description of parameters |
UPDATE_VIEW – VIEW—set general background and/or text color in the Event Viewer interface window | bk_color<> | General background color in x16 format |
defclr<> | General text color in x16 format |
Example. Set general background color to black and general text color to white for Event Viewer 1 on Macro 1.
...
"SET_FILTERS"—activate the Event Viewer filter | filter0<>,filter1<>,filter2<>, etc. | The name of the filter created in the Event Viewer. If you need to specify several filters, then the parameter numeration (0, 1, 2, etc.) must go in order starting with filter0<>. Note that the numbers should not be skipped. See Examples of scripts with Event Viewer |