Promotic
WikipediaLinkedInYoutubeTwitterFacebook

ShowMenu - method of object PmiItem

Description:
Opens menu item local menu.
Syntax:
ShowMenu
Calling:
oItem.ShowMenu
Note:
By default the local menu is open automaticaly by clicking the right mouse button over the item (or the left mouse button can be used or space key - if the "Open the local menu also by left mouse button" configurator is set). In such case it is not needed to call this method.

This method can be called for non-standard menu opening, for example, if you need to open the menu by clicking the mouse in a predefined region of the graphic item, etc.

 
The local item menu can be created by filling in the events: onMenuFill and onMenuSelect (see Example for JavaScript or Example for VBScript in description of the PmMenu object).
 
The method can also be called in the graphic item events for Web Panels.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice