How can I disable the use of the caps lock and the shift keys in a text box keypress event
I need to be able to control how the user inputs text in a text box by code
Printable View
How can I disable the use of the caps lock and the shift keys in a text box keypress event
I need to be able to control how the user inputs text in a text box by code
Assuming you want all lowercase...
private Sub Text1_KeyPress(KeyAscii as Integer)
KeyAscii = Asc(LCase(Chr(KeyAscii)))
End Sub
I will give it a go thanks
dar1