PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Pauses the current thread during the specified duration.
Example
ThreadPause(100)
Syntax
ThreadPause(<Time-out>)
<Time-out>: Integer
Time-out defined for the thread (in hundredths of a second). This parameter can correspond to:
  • an integer corresponding to the number of hundredths of a second,
  • a Duration variable,
  • Versions 23 and later
    the indication of duration in clear ('1s' ou '10cs' for example).
    New in version 23
    the indication of duration in clear ('1s' ou '10cs' for example).
    the indication of duration in clear ('1s' ou '10cs' for example).
Remarks
  • We recommend that you use ThreadPause instead of Multitask or Time-out when several threads are used (including for the main application thread) if the user actions do not have to be processed by the time-out.
  • In a Service application, ThreadPause must be replaced by ServiceWait.
Component : wd240vm.dll
Minimum required version
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment