Promotic

RemoveEvent - method of the PmaObject object

Description:
Un-registers the function in the specified event.
Syntax:
Empty RemoveEvent(Long sEventName, String sFuncId)
Parameters:
sEventName(Long) Event name.
sFuncId(String) Identifier of the event function registered by the AddEvent method.
Note:
This method is functional only for JavaScript language.
See also:
Example:
Un-registration of the Test function in the onTick event of the PmaTimer object
JavaScriptSelect and copy to clipboard

pMe.Pm("/Timer").RemoveEvent("onTick", pMe.GetPathName());

History:
Pm9.00.16: Created
PROMOTIC 9.0.21 SCADA system documentation - MICROSYS, spol. s r.o.

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