Update cookies preferences
Promotic

onRefresh - event of the PmgObject object

Description:
The event is triggered on the data refresh of the Pmg object.
Parameters:
pMe(Object) Reference to the PmgObject object where the event rises.
pEvent(Object) Reference to an object describing detailed information about the specific event.
The pEvent parameter is not used here because this event does not need any additional information.
Note:
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:
Example:
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.31 SCADA system documentation MICROSYS, spol. s r.o.

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