If the user selects some item from the local menu then the onMenuSelect event is called.
|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.Menu - (Object) Object of the PmMenu type that represents the list of menu (local or system) items. At the beginning this object has no items. In this event it is possible to fill in this object with requested items by means of the AddMenu method and to create an arbitrary menu. Caution! It is not allowed to save the reference to this object for the later use.