- keyVal
- The CAPS LOCK, NUM LOCK, or SCROLL LOCK member of the System.Windows.Forms.Keys enumeration.
true if the specified key or keys are in effect; otherwise, false.
Use the Control.IsKeyLocked(Keys) property to determine whether the CAPS LOCK, NUM LOCK, or SCROLL LOCK keys are on, whether individually or in combination.