Promotic
WikipediaLinkedInYoutubeTwitterFacebook

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.
Note:
This method is also functional in Web panels.
Example1:
JavaScriptVBScriptSelect and copy to clipboard

pMe.Root.RemoveEventTimer(OnTick, 1);
Example2:

History:
Pm9.00.10: New nAttr parameter
Pm9.00.06: Created
PROMOTIC 9.0.13 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