Promotic

RemoveEvent - method of the PmgObject object

Description:
Unregisters 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 also functional in Web panels.
This method is functional only for JavaScript language.
See also:
Example:
Unregisteration of the Test function in the onButtonUp event of the PmgButton object
JavaScriptSelect and copy to clipboard

pMe.Items("/Butt").RemoveEvent("onButtonUp", pMe.GetPathName());

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

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