BUG: No Option Button Active (Dotted) in Frame (76520)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
- Microsoft Visual Basic Standard Edition for Windows 1.0
This article was previously published under Q76520 SYMPTOMS
If you have more than one frame (or group) of option buttons, Visual
Basic correctly marks one button as active (with a dot) in the first
group of option buttons, but initially fails to place a dot anywhere
in additional groups (or frames) of option buttons. You must manually
click an option button in the additional group for the dot to appear
in that group.
WORKAROUND
If you want a particular option button selected (containing the dot)
in a group or frame, set that button's Value property in the Form_Load
event Procedure. For example:
Option3.Value = -1
This will place a dot in the Option3 button in addition to the dot in
the Option1 button when you run the program again.
Note that you cannot place a dot in both the Option1 button and
the Option2 button if they are both placed in the same frame. By putting
a group of options in one frame, you are specifying that the user may
choose only one of the grouped options.
Note also that buttons on a form outside any frame behave as a group.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. We are researching this problem and will
post new information here in the Microsoft Knowledge Base as it becomes
available.
Modification Type: | Major | Last Reviewed: | 12/12/2003 |
---|
Keywords: | kbbug KB76520 |
---|
|