ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Windows Event functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Ends the execution of a timer triggered by TimerSys.
Example
// Procedure used to display the time in EDT_TIME1 on a regular basis
PROCEDURE Display_Time()
EDT_Time1 = TimeSys()
 
// Process when opening the window
// Display_Time will be automatically called every second
TimerNum is int
TimerNum = TimerSys("Display_Time", 100, 1)
IF TimerNum = 0 THEN
Error("Unable to create the timer")
END
// Stop the timer during the click on a "BTN_StopTimer" button
EndTimerSys(TimerNum)
Syntax
EndTimerSys([<Timer number>])
<Timer number>: Optional integer
Number of the timer to destroy (returned by TimerSys).
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 EndTimerSys is used in the code of a procedure called by a timer, the timer is interrupted. Otherwise, EndTimerSys has no effect.
Component: wd290vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help