Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Preconfiguration "Right / left direction control button"

Creates object configured as direction control button.

The created PmgCanvas object has following variables:
typeList - (system variable) defines the name of action type
typeSel - (system variable) defines the settings of selected action type
mode - (system variable) defines the look of the button if focused or cursor hovering over the object
pushType - (system variable) defines the look of the button if pressed


The events onKeyPress and onMousePress solve the conditions that are defined for calling the designer's "LaunchAction" method.

In the "GetTypeList" method the button selection menu items are set. The "LaunchAction" method contains a script where it is possible to edit actions connected with direction arrow button release and predefined action type.
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.
Button color

History:
Pm8.03.00: Created
PROMOTIC 9.0.16 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