Promotic

ReturnValue - property of the PmaPanel object

Description:
The output value on closing 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.
Instead of of this property it is better to use the PmgRoot.ReturnValue property.
Syntax:
Variant ReturnValue
Note:
Property access for read and write.
 
The property value is used as the return value of the Pm.CreateView method.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oPanel = pMe.Pm("/Panel");
oPanel.ReturnValue = Pm.Array1("a", "b", "c");
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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