Microsoft KB Archive/150190

= BUG: Radio Buttons Disappear When Sheridan Frame Disabled =

Article ID: 150190

Article Last Modified on 1/8/2003

-

APPLIES TO


 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 16-bit Enterprise Edition

-



This article was previously published under Q150190



SYMPTOMS
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.



RESOLUTION
Use the Microsoft Frame controls instead of the Sheridan Frame controls.



STATUS
Microsoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article.



Steps to Reproduce Problem
 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. Place a Microsoft Frame control inside the Sheridan Frame control. Drag three Microsoft 3D radio buttons inside the Microsoft Frame control.  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.

Keywords: kbbug kb16bitonly KB150190

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.