onSystemMenuSelect - event of the PmaRoot object
Description:
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.
Parameters:
pMe | (Object) Reference to the PmaRoot object where the event rises. |
pEvent | (Object) Reference to an object describing detailed information about the specific event.
pEvent.Name - ( String) [ for reading] Identifier of the selected item of the menu.
This identifier is defined when item is added by the PmMenu.AddMenu method. |
---|
Note:
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.
Example:
See: Example in the description of the
AddMenu object