Microsoft KB Archive/150239

= PRB: Option Button TabStop Property Is Set to True at Run- time =

Article ID: 150239

Article Last Modified on 6/29/2004

-

APPLIES TO


 * Microsoft Visual Basic 4.0 Standard Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 16-bit Enterprise Edition
 * Microsoft Visual Basic 4.0 32-Bit Enterprise Edition

-



This article was previously published under Q150239



SYMPTOMS
A Microsoft Visual Basic program contains an Option button that is set to True at runtime. However, the program is designed so a user cannot get to the Option Button by using the Tab key. For this condition to occur, the TabStop property of the Option button is set to False and the Value property is set to True at design time. When running the program, you can tab to the Option button.



CAUSE
The TabStop property is changed to True at run-time.



WORKAROUND
Set the TabStop property to False in the LostFocus event of each option button.



STATUS
This behavior is by design.

Additional query words: 4.00 vb4win vb4all

Keywords: kbprb kbctrl KB150239

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.