Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Preconfigurations Up / down direction control button

Creates graphic item configured as direction control button.
 
The created item PmiCanvas has following variables: The created item PmiCanvas has following variables:
typeList - defines the user name of action type
typeSel - defines the settings of selected action type
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 and onMousePress solve the conditions that are defined for calling the user method LaunchAction of the graphic item.
 
In method GetTypeList the button selection menu items are set. In method LaunchAction there is 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:
Button color
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice