Well, you might be wondering why the use of having caps-lock always enabled no matter what. Well, for starters, I have a barcode scanning system that scans alphanumeric barcodes which includes small case and upper case letters, etc etc. When the barcode scans, the input captures the characters and verifies the barcode and does other stuff. This has caused me quite a few problems as some users have caps-lock on for x,y reason and of course, when they scan items, all the characters become capitalized and nothing works from there.
My question, is there a way to be able to "disable" (might be the wrong choice of words) the caps lock or perhaps turn it off if it's on. Essentially it would be ideal if it's detected as soon as there's an TextChanged
event happening to make sure it's always off.
private void barcodeVal_TextChanged(object sender, EventArgs e)
{
//check if caps lock is on. if it is, turn off and evaluate barcode
}
Is where the it would need to happen.