BUG: ARROW and TAB keys Stop Working in MDI Child FormLast reviewed: October 8, 1996Article ID: Q145677 |
The information in this article applies to:
SYMPTOMSWhen you have an MDI parent form with a toolbar and one MDI child form, pressing a toolbar button can prevent the arrow keys and tab key from functioning as cursor navigation keys on the MDI child form. You can still type text into the text boxes on the child form, but the cursor can be moved only by using the mouse pointer.
CAUSEThe toolbar control is capturing all navigation key events, preventing the text box controls on the MDI child form from processing them.
STATUSMicrosoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
WORKAROUNDTo work around this problem, force the toolbar to lose focus. This will prevent the toolbar from trapping the navigation key events. Add the following code to the MouseUp event of the toolbar control:
Private Sub Toolbar1_MouseUp(Button As Integer, Shift As Integer, _ x As Single, y As Single) Me.SetFocus End Sub MORE INFORMATION
Steps to Reproduce
|
Additional reference words: 4.00 vb4win vb4all
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |