onSystemMenuSelect - event of the PmaRoot object
The event is triggered on the selection of an item from the application system menu.
The event can be used, for example, for controlling the application by the application system menu.
|pMe||(Object) Reference to the PmaRoot object where the event rises.|
|pEvent||(Object) Reference to object describing detailed information about the specific event.
) [for reading
] Identifier of the selected item of the menu. This identifier is defined when item is added by the PmMenu.AddMenu
The application system menu is accessible via PROMOTIC icon located in bottom right next to the clock (Tray) (enable the "Icon in Sys Tray on the right
" configurator). In the system menu, there are always options for displaying the INFO system
and stopping the application. The visibility and functionality is not dependant on scripts, (if the VBScript
core is damaged and the scripts do not work, the INFO system is still available and working). Additional options can be included in this event in the script, and and also the user input/selection is controlled by script.
See: Example in the description of the AddMenu