BiggerBrother
Technical User
I have an app, made of 14 forms and an MDI form. The MDI form has a textbox, used as a command line.
What I want to achieve is that if the user presses a key, and the focus is not currently on another textbox, then the focus snaps to the command line, and the text is entered into the command line.
I realise that VB does not have form_keydown functions that take precidence, and that to use the keydown function, i have to enter this into every control on the forms. Is there any other way to intercept the input from the user?
I guess that it must be an API function, if any, and that is probably the wrong forum, but I reckon it's a good place to start.
Thanks for your help
BB
What I want to achieve is that if the user presses a key, and the focus is not currently on another textbox, then the focus snaps to the command line, and the text is entered into the command line.
I realise that VB does not have form_keydown functions that take precidence, and that to use the keydown function, i have to enter this into every control on the forms. Is there any other way to intercept the input from the user?
I guess that it must be an API function, if any, and that is probably the wrong forum, but I reckon it's a good place to start.
Thanks for your help
BB