LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Status of CAPS LOCK

How do I detect the status of CAPS LOCK? Is it possible to control the status of CAPS LOCK?
0 Kudos
Message 1 of 6
(5,064 Views)
I am not sure about detecting/controling the CAPS LOCK, but if caps are giving you a problem there are ways around that. There is a "To Upper Case" function in the String function palette. Convert all user inputs to upper case and use all upper case comparisons. If this is not your problem, just disregard.
- tbob

Inventor of the WORM Global
Message 2 of 6
(5,052 Views)
Use the GetKeyState function from user32.dll. It recieves a key number (Caps Lock should be 20) and returns a byte. The low order bit says whether the key is toggled.

___________________
Try to take over the world!
Message 3 of 6
(5,030 Views)
Thank you. It works
0 Kudos
Message 4 of 6
(5,021 Views)

Thanks, its helped me so much

0 Kudos
Message 5 of 6
(583 Views)

Here

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 6 of 6
(535 Views)