Preconfiguration "Grid area cell selection"

Creates the graphic item PmiCanvas configured as grid.
This preconfiguration can be activated when creating a new graphic item 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 graphic item contains variables gridRC, posRC and colorRect.
Variable gridRC specifies the number of grid rows and columns. These values are separated by comma.
Variable posRC specifies the indexes of selected active position (grid row and column separated by comma). The binding can be used to connect it to the value of the same data structure.
Variable colorRect 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:
Number of grid rows
Number of grid columns
Grid color
PROMOTIC 8.3.29 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