Promotic

RemoveEvent - method of the PmgObject object

Description:
Deregisters 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:
Un-registration 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.17 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