The EVENT_VIEWER object corresponds to the Event Viewer system object.

Format of events procedure for the Event Viewer:

DoReact("EVENT_VIEWER","_id_","_команда_" [,"_параметры_"]);

List of commands and parameters for the Event Viewer object is presented in the following table:

Commandcommand 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

Example. Set general background color to black and general text color to white for Event Viewer 1 on Macro 1.

OnEvent ("MACRO","1","RUN")
{
    DoReactStr("EVENT_VIEWER","1","UPDATE_VIEW","bk_color<#000000>, defclr<#FFFFFF>");
}