Update cookies preferences

Preconfiguration "Grid area cell selection"

Creates the PmgCanvas object configured as grid.

This preconfiguration can be activated when creating a new Pmg object and is included in the group: "/ Technology / Map and area".

The preconfiguration creates an active grid that can be used in order to detect/set the active position (of the cell).

This object contains variables gridRC, posRC and colorRect.
The gridRC variable = the number of rows and columns of the grid. These values are separated by comma.
The posRC variable = the indexes of selected active position (grid row and column separated by comma). It is possible to connect it to the value of the same data structure by data binding.
The colorRect variable = color of selected position

There are scripts in events onMousePress and onMousePress that alow the control of active grid position by the mouse or by keyboard arrows.
These configurators can be set before the preconfiguration is created:
The name of created objectName (identifier) of the Pmg object. It is used for obtaining the Pmg object by the PmgObject.Items method.
This configurator sets the initial value of the Name property.
The maximum name length is 30 characters.
This is a system name, so it must contain only alphanumeric and must not contain any diacritics (i.e. national dependent characters), empty string, spaces and the first character must not be a number.
Number of rows of the grid
Number of columns of the grid
Grid color

Pm8.02.06: Created
PROMOTIC 9.0.28 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.