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
LockAppTimeout (Function)
In French: VerrouAppliDélai
Returns or modifies the idle time before a WINDEV application is locked.
Note: The idle time corresponds to the time passed since the last action performed by the user on the application.
Example
// Lock the application if it is not used during 15 minutes
LockAppTimeout(15)

// Application does not lock anymore
LockAppTimeout(-1)
Syntax

Finding out the idle time Hide the details

<Result> = LockAppTimeout()
<Result>: Integer
  • Idle time (expressed in minutes) before the application is locked.
  • 0 (default value) means that the "Application lock" feature was not enabled.

Modifying the idle time Hide the details

LockAppTimeout(<New Time-out>)
<New Time-out>: Integer ou Duration
  • Idle time before the application is locked (expressed in minutes).
  • If this value is set to 0, the feature is disabled (the application will never be locked).
This parameter can correspond to:
  • an integer corresponding to the number of minutes,
  • a Duration variable,
  • Versions 23 and later
    the direct indication of duration (1 min for example).
    New in version 23
    the direct indication of duration (1 min for example).
    the direct indication of duration (1 min for example).
Related Examples:
The Lock functions Unit examples (WINDEV): The Lock functions
[ + ] Using the LockXX functions in order to lock a sensitive application.
Components
WINDEVReports and Queries wd230gpu.dll
Linux wd230gpu.so
See also
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment