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 (cell).
This object contains variables gridRC, posRC and colorRect.
The gridRC variable specifies the number of rows and columns of the grid. These values are separated by comma.
The posRC variable specifies 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 specifies the color of selected position
There are scripts in events onMousePress and onMousePress that alow the control of active grid position by mouse or by keyboard arrows.
These configurators can be set before the preconfiguration is created:
Object nameName (identifier) of the Pmg object. It is used to obtain 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, 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.15 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice