RemoveEventTimer - method of the PmgRoot object
Description:
Unregister a function from internal panel timer pro unrepeated or repeated calling after defined time period.
Syntax:
Empty RemoveEventTimer(Function Func, [Long nAttr])
Parameters:
Func | (Function) JavaScript event function that will be unregistered from panel timer. |
---|
nAttr | [optional] (Long) Allows to specify the way of removing the function from the internal timer. 0 (default) - The function is just removed from the timer. 1 - The function is called while being removed from the timer. |
---|
Example1:
JavaScriptVBScriptSelect and copy to clipboard
pMe.Root.RemoveEventTimer(OnTick, 1);
pMe.Root.RemoveEventTimer OnTick, 1