Preconfiguration "Cross button"

Creates object configured as cross control button.

This preconfiguration can be activated when creating a new Pmg object and is included in the group: "/ Button / One-state button".

The created PmgCanvas object has following variables:
title - text displayed in button
mode - (system variable) defines the appearance of the button if focused or cursor hovering over the object
push - (system variable) defines the appearance of the button if pressed

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

This method contains a script where it can be changed the action connected with releasing the button in one of the five areas.
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.
Border and shading typeSets the border type and shading of the graphic object.
wider 3D border, with shading
thin 3D border, no shading
thin simple border, no shading
Button color

Pm8.03.00: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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