BUG: Sheridan Panel Receives Focus & Active Control Loses Focus (150226)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
This article was previously published under Q150226 SYMPTOMS
In the 16-bit edition of Microsoft Visual Basic 4.0, clicking on a Sheridan
Panel causes the panel to receive the focus while causing the active
control on the panel to lose the focus. Users are unable to send any input
to the Panel control, and the control lacks a GotFocus or LostFocus event.
RESOLUTION
In the Click event of the panel, place the following lines of code:
Private Sub SSPanel1_Click()
SendKeys "{TAB}"
Beep
End Sub
When the user clicks or double-clicks the frame control, the focus is
restored to the control that had the focus previously. However, the user
is unable to use keystrokes to tab to the frame control.
STATUS
Microsoft has confirmed this to be an issue in the Microsoft products
listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 11/3/2003 |
---|
Keywords: | kbBug KB150226 |
---|
|