PRB: GotFocus Occurs Before Click Event When Option SelectedLast reviewed: October 30, 1995Article ID: Q138528 |
The information in this article applies to:
SYMPTOMSThe GotFocus event occurs before a Click event for an option button when an access key instead of the mouse is used to select the option. This is different from the behavior of command buttons and check boxes where the Click event occurs before the GotFocus event when an access key is used to select the control.
STATUSMicrosoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThe order of the GotFocus and Click events depends on how the control was selected. A mouse click generates a GotFocus event followed by a Click event for Command buttons, Check boxes, and Option buttons. The order of the GotFocus and Click events reverse for command buttons and check boxes when an access key is used. The following table lists the events in the order in which they occur for each type of control.
Type of Control MouseClick Access Key Command Button GotFocus, Click Click, GotFocus Check Box GotFocus, Click Click, GotFocus Option Button GotFocus, Click GotFocus, Click Steps to Reproduce Behavior
|
Additional reference words: 3.00 4.00 vb4win vb4all
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |