onSystemMenuSelect - event of object PmRoot

The event fires on the selection of an item from the application system menu. The event can be used for controlling the application by the application system menu.
pMe(Object) Reference to the graphic item where the event rises.
pEvent(Object) A referrence to object describing detailed information about the specific event.
pEvent.Name - (String) Identifier of the selected item of the menu. This identifier is defined when item is added by the PmMenu.AddMenu method.
The application system menu is accessible via PROMOTIC icon located in bottom right next to the clock (Tray) or via the icon located on the window header of the PmWorkspace object. 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 by script, and and also the user input/selection is controlled by script.
See: Example in the description of AddMenu object
PROMOTIC 9.0.0 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice