Is it possible to have a textbox ignore Ctrl + character function and reassign a different use for the ctrl key?
Situation: I have multiple text boxes on a Form. Ideally I would like the textboxes to jump from one textbox to another after enter in a single character. However the textbox can have more than one input, in this case I want the user to hold ctrl to stay on the textbox while they enter in multiple characters.
Essentially, I want my ctrl (If held down) to stop the textbox from jumping.
I've tried using a combination of OnKeyDown, OnKeyUp and TextChanged event to handle when the Ctrl key is pressed, but in the end, I can't enter any data once the Ctrl key is held down. Is there a way around this?
Thank you for the help,
Mike
Aucun commentaire:
Enregistrer un commentaire