The information in this article applies to:
SYMPTOMS
Setting the Value of an option button to False (0) also sets its
TabStop property to False. If you set the Value property of an option
button to False without setting the Value property of another option
button to True (-1), Visual Basic will allow the user to tab over the
other option buttons because all the TabStops are set to False.
CAUSEBy default, the TabStop property of option buttons is set to True. Once an option button is selected at run time, the Value property for the other option buttons not selected is set to False, which also sets the TabStop property to False. If you just change the Value property of one option button to False, and do not set the Value property of another option button to True, none of the other option buttons will have their TabStop property set to True, and these option buttons will skipped when the user presses the TAB key to move through controls at run time. WORKAROUNDTo avoid this problem, ensure that one of the options in an option group is always selected. MORE INFORMATIONSteps to Reproduce Problem
Additional query words: 2.00 3.00
Keywords : |
Last Reviewed: January 25, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |