I have the following problem with a form not taking focus from the ribbon once it's been opened using the keyboard.
There's an MDI parent form with a ribbon.
One of the buttons on the ribbon opens an MDI child form with text boxes on it.
I use the Alt key to give focus to the ribbon, then use the cursor keys to navigate to the button on the ribbon, and press the keyboard Return key to click that button.
The child form opens and the cursor is in the text box of that form, so it receives keyboard input when I type, but I can't tab out of that text box until I've either clicked on the form or pressed the Alt key again.
Is this intended behaviour? Shouldn't the form take focus when it opens?
Couldn't you manually set focus to the first control of the form, or to the form itself, once it gets created?
I already am. When the form opens the cursor is in the text box of that form, so it receives keyboard input when I type. It won't let me tab out of that field until I press the Alt key again.