BUG: Radio Buttons Disappear When Sheridan Frame Disabled

Last reviewed: April 26, 1996
Article ID: Q150190
The information in this article applies to:
  • Professional, and Enterprise Editions of Microsoft Visual Basic, 16-bit only, for Windows, version 4.0

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.

STATUS

Microsoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article. Microsoft is researching this issue and will post new information here in the Microsoft Knowledge Base as it becomes available.

WORKAROUND

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

MORE INFORMATION

Steps to Reproduce Problem

  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 reference words: 4.00 vb4win vb416
KBCategory: kbprg kbbuglist
KBSubcategory: PrgOther PrgCtrls



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 26, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.