Update cookies preferences
Promotic

ShowMenu - method of the PmgObject object

Description:
Opens context menu of the Pmg object.
Syntax:
Empty ShowMenu()
Note:
By default the context menu is open automatically after pressing by the right mouse button over the Pmg object (or the left mouse button can be used or by the space key - if the "Open the context menu also by the 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 only in a predefined region of the Pmg object, etc.

The context menu of the Pmg object can be created by filling of 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.31 SCADA system documentation MICROSYS, spol. s r.o.

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