PRB: eVB: Option Button Property Value Is Always True at Run Time (260117)
The information in this article applies to:
- Microsoft eMbedded Visual Basic 3.0
This article was previously published under Q260117 SYMPTOMS
In eMbedded Visual Basic, an Option button may remain checked even if you have explicitly set its value to False in the Form_load event. This occurs when the Option button is the first control in the tab order and can receive focus.
RESOLUTION
Put an item that can receive focus immediately before the first Option Button in the tab order. You can use the sample code shown in the "More Information" section and add a Textbox control to Form1 with its TabIndex property set to 0. When you run the project, you should see that the Option Button is not checked, even if you remove the code from the Form_Load event.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 9/4/2002 |
---|
Keywords: | kbDSupport kbprb KB260117 |
---|
|