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
CapsLockVerify (Function)
In french: CapsLockVérifie
Checks whether the CapsLock key is pressed.
Caution: This function must only be used in the browser code of the key pressed (onkeypress). The check will be performed when the first letter is typed.
Example
// Displays a warning if the CapsLock key is pressed
IF CapsLockVerify() = True THEN Info("The CapsLock key is pressed.")
Syntax
<Result> = CapsLockVerify()
<Result>: Boolean
  • True if the CapsLock key is pressed,
  • False otherwise.
Component : WDJS.DLL
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment