Promotic

Enabled - property of the PmaPanel object

Description:
Enable/disable the user's control of the whole panel.
This method/property/event is considered obsolete and is functional only if the "Level of integration of the panel viewer and the local application" configurator is set to full - FULL access from scripts to the whole application (only for VBScript) and if the "Enable multiple opening of local panel" configurator IS NOT SET.
Instead of of this property it is better to use the Enabled property of the PmgRoot object.
Syntax:
Boolean Enabled
Values:
true - The Pmg object captures every event that is triggered by the user (by clicking the mouse, etc.).
false - The Pmg object doesn't capture any event that is triggered by the user.
Note:
Property access for read and write.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oPanel = pMe.Pm("/Panel");
var bEnabled = oPanel.Enabled;   // Reading from the property
oPanel.Enabled = true;   // Writing into the property
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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