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
Pauses the current thread during the specified duration.
Example
ThreadPause(100)
Syntax
ThreadPause(<Timeout>)
<Timeout>: Integer
Timeout 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 plain text ('1s' ou '10cs' for example).
    New in version 23
    the indication of duration in plain text ('1s' ou '10cs' for example).
    the indication of duration in plain text ('1s' ou '10cs' for example).
Remarks
  • It is recommended to use ThreadPause instead of Multitask or Timeout when several threads are used (including the main application thread) if the timeout does not need to process user actions.
  • In a Service application, ThreadPause must be replaced by ServiceWait.
Component : wd250vm.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment