onRefresh - event of the PmgObject object

The event is triggered on the data refresh of the Pmg object.
pMe(Object) Reference to the PmgObject object where the event rises.
pEvent(Object) Reference to the object describing detailed information about the specific event.
The pEvent parameter is not used here because this event does not need any additional information.
This event is also functional in Web panels.

The data of the Pmg object are refreshed either:
- when the panel is automatically redrawn - if this panel hasn't set the "Refresh period (refresh)" configurator or
- after calling the PmgObject.Refresh method or
- after calling the PmaPanel.Refresh method (obsolete).

The event can be used, for example, for the data refresh in the Pmg object (replacement of data bindings).
See also:
This script in the PmgString object will display current time.
JavaScriptVBScriptSelect and copy to clipboard

pMe.Value = Pm.CreatePmDateObject().Format("%H:%M:%S");
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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