onMenuSelect - event of the PmgObject object
Description:
The event is triggered on the selection of the item from the Pmg object context menu.
The event can be used, for example, for controlling the Pmg object by the Pmg object context 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 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:
- This event is triggered only if the "
Control enabled" configurator is checked.
Example:
See: Example in the description of the
AddMenu object