Go to documentation repository
The EVENT_VIEWER object corresponds to the Event Viewer system object.
The EVENT_VIEWER object sends events given in the table. Procedure is started when the corresponding event occurs.
Description of events of the EVENT_VIEWER object.
Events | Description |
SHOW_ON_MAP | The operator selected the "Display on the map" command |
SHOW_VIDEO | The operator selected the "Display video" command |
SHOW_REPORT | The operator selected the "Show report" command |
CREATE_REPORT | Generated if the GenerateEventInsteadOfReport registry key is set to 1 and the operator selected the "Show report" command. The report does not open. See also Registry keys reference guide |
List of commands and parameters for the Event Viewer object is presented in the following table:
Command—command description | Parameters | Description of parameters |
UPDATE_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 | |
"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 |