Promotic
WikipediaLinkedInYoutubeTwitterFacebook

onValueWrite - event of the PmaString object

Description:
The event is triggered after writing the value into this object.
Parameters:
pMe(Object) Reference to the PmaString object where the event rises.
pEvent(Object) Reference to object describing detailed information about the specific event.
pEvent.Change - (Boolean) Takes the following values:
true - If Old <> New
false - If Old = New
pEvent.New - (String) Value of the Value property after the last write into this property.
pEvent.Old - (String) Value of the Value property before the last write into this property.
Example:
JavaScriptVBScriptSelect and copy to clipboard

if (pEvent.Change)
Pm.Debug("new value = " + pEvent.New);
PROMOTIC 9.0.15 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