Enabled - property of the PmaPanel object

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 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.
Boolean Enabled
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.
Property access for read and write.
JavaScriptVBScriptSelect and copy to clipboard

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

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice