ID: Q150190
The information in this article applies to:
If Microsoft radio buttons are contained inside a Microsoft Frame control, that is itself contained inside a Sheridan Frame control, then disabling the Sheridan Frame control causes the radio buttons to disappear. This behavior only occurs in the 16-bit version of Microsoft Visual Basic.
Use the Microsoft Frame controls instead of the Sheridan Frame controls.
Microsoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article.
1. In 16-bit Visual Basic, start a new project. Form1 is created by
default. Place a Sheridan Frame control on Form1. From the Tools menu,
select Custom Controls, and then select Sheridan 3D Controls.
2. Place a Microsoft Frame control inside the Sheridan Frame control.
Drag three Microsoft 3D radio buttons inside the Microsoft Frame
control.
3. Place a Command button anywhere on the Form. Inside the Click event
for the Command button, place the following code:
SSFrame1.Enabled = Not SSFrame1.Enabled
Run the project by pressing F5. Press the Command button and notice that
the radio buttons disappear when they should appear grayed out since they
have been disabled.
Additional query words:
Keywords : kb16bitonly kbVBp400bug
Version : 4.00
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: November 11, 1998