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

ID: Q150239

4.00    | 4.00
WINDOWS | WINDOWS NT kbprb

The information in this article applies to:

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.

STATUS

This behavior is by design.

WORKAROUND

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

Additional reference words: 4.00 vb4win vb4all KBCategory: kbprb KBSubcategory: PrgCtrlsStd

Keywords          : PrgCtrlsStd 
Version           : 4.00 | 4.00
Platform          : NT WINDOWS

Last Reviewed: August 8, 1998