Promotic

onMenuSelect - event of the PmgObject object

Description:
The event is triggered on the selection of the item from the Pmg object local menu.
The event can be used, for example, for controlling the Pmg object by the Pmg object local menu that is called by the right mouse button.
Parameters:
pMe(Object) Reference to the PmgObject object where the event rises.
pEvent(Object) Reference to the 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:
- This event is triggered only if the "Control enabled" configurator is checked.
- This event is also functional in Web panels.
- This event is not functional for object: PmgRoot, PmgActiveX.
See also:
Example:
See: Example in the description of the AddMenu object
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.