Promotic

State - property of the PmaPanel object

Description:
The viewing mode of the 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.
Syntax:
Long State
Values:
1 - normal
2 - minimize
3 - maximize
Note:
Property access for read and write.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oPanel = pMe.Pm("/Panel");
var nState = oPanel.State;   // Reading from the property
oPanel.State = 3;   // 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.