I have a form with a rich text box control. Is there a way to have caps lock turn on whenever the rich textbox control has focus? And turn it off if the rich text box loses focus? I am using C#
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I would suggest instead capturing the key input and replacing it with the associated uppercase version. Otherwise, imagine a situation where the user clicks in the textbox, switches to another app, realizes Caps Lock is on, throws a brick at their computer out of frustration and then switches back to your app where the cursor is sitting in a textbox expecting uppercase letters but Caps Lock is now off.