Preconfiguration "Cross button"
Creates object configured as cross control button.
The created PmgCanvas
object has following variables
title - text displayed in button
mode - (system variable) defines the look of the button if focused or cursor hovering over the object
push - (system variable) defines the look of the button if pressed
The events onKeyPress
solve the conditions that are defined for calling the designer's "onPressUp
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:
| Object name||Name (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.