Preconfiguration "Cross button"
Creates graphic item configured as cross control button.
The created item PmiCanvas
has following variables
mode - defines the look of the button when focused or when mouse cursor hovers over it
pushType - defines the look of the button if pressed
The events onKeyPress
solve the conditions that are defined for calling the user method onPressUp
of the graphic item.
This method contains script where it is possible to edit the action connected with releasing the button in one of the five areas.
These configurators can be set before the preconfiguration is created: