Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.

Previous page Next page


You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The DIALOG object corresponds to the Operator query pane system object:

Operator format to describe actions with the operator query pane is:

DoReact("DIALOG","_id_","_command_" [,"_parameters_"]);

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

Commandcommand description

Parameters

Description

"SETUP" – set up of operator query pane.

x<>

Coordinate of left top corner (0 - 100).

y<>

Coordinate of left top corner (0 - 100).

allow_move<>

0 – forbid moving, 1 – allow moving.

"RUN" – show operator query pane.

-

-

"RUN_MODAL" – run operator query pane in modal mode.

-

-

"CLOSE" – close last opened operator query pane.

-

-

"CLOSE_ALL" – close all opened operator query panes.

-

-

 

Examples of using reactions of the Operator query pane object:

  1. Using macro 1 set coordinates of left top corner of the operator query pane (ptz video camera PANASONIC-850) in center of screen, forbid its moving and display it.

    OnEvent("MACRO","1","RUN")
    {
        DoReact("DIALOG","PANASONIC-850","SETUP","x<50>,y<50>,allow_move<0>");
        DoReact("DIALOG","PANASONIC-850","RUN");
    }
  2. Close the operator query pane using macro 2.

    OnEvent("MACRO","2","RUN")
    {
        DoReact("DIALOG","PANASONIC-850","CLOSE");
    }
  • No labels