Promotic

ShowMenu - method of the PmgObject object

Description:
Opens local menu of the Pmg object.
Syntax:
Empty ShowMenu()
Note:
By default the local menu is open automatically after pressing by the right mouse button over the Pmg object (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 Pmg object, etc.

The local Pmg object menu can be created by filling in the events: onMenuFill and onMenuSelect (see Example in the description of the AddMenu object).

This method is also functional in Web panels.
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oObject = pMe.Items("/Txt0");
oObject.ShowMenu();

History:
Pm8.03.06: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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