ReturnValue - property of object PmiRoot

The output value on closing the panel.
ReturnValue As Variant
oRoot.ReturnValue = Array(r0, r1, r2)
Property access for read and write.

This property is also functional for Web panels.

Defining this method is often important, for example, if opening a modal window for data editing. The ReturnValue property is then used as output value.

See How to work with modal windows.

If the OpenView method vas used to open this panel and the oExtra.onClose entry was defined then while closing this panel the user method defined here is executed. This user method has two parameters oSystem and oPrivate represented by PmMap type objects. The output value of the closed pan can be obtained in this method by using the oSystem.ReturnValue property.
For the old procedure of modal window opening by the PmPanel.OpenViewModal method, this value is used as method return value.
This property can be set, for example, in the onPanelStopEnd event when the panel is being closed. But it can also be set any time before that.
See also:
PROMOTIC 8.3.19 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