PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Ends the execution of a timer triggered by Timer.
Example
// Procedure used to regularly display the time in TIME1
PROCEDURE Display_Time()
TIME1 = TimeSys()

// Process when opening the window or the page
// Display_Time will be automatically called every second
TimerNum is int
TimerNum = Timer("Display_Time", 100, 1)
IF TimerNum = 0 THEN
Error("Unable to create the timer")
END
// Stop the timer during a click on the "StopTimer" button
EndTimer(TimerNum)
Syntax
EndTimer([<Timer number>])
<Timer number>: Optional integer (mandatory integer in WEBDEV Browser)
Number of the timer to destroy (returned by Timer).
If this number is specified, the selected timer is interrupted. The function has no effect if the timer does not exist or if it has already been interrupted.
If this number is not specified and if EndTimer is used in the code of a procedure called by timer, the timer is interrupted. Otherwise, EndTimer has no effect.
WEBDEV - Browser code This parameter must necessarily be specified.
Component : wd250vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment