Microsoft KB Archive/189709

= FIX: Class Browser Code Does Not Show Correct Visibility =

Article ID: 189709

Article Last Modified on 3/3/2005

-

APPLIES TO


 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q189709



SYMPTOMS
When you view class code in the Class Browser, some procedures might not reflect their true visibility. An intrinsic method that has been marked Hidden or Protected might be represented as Public in the code generated by the Class Browser.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This bug has been fixed in the updated version of the Setup Wizard Vfp6swiz.exe dated 10/08/1998.

This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed



Steps to Reproduce Behavior

 * 1) Create a new visual class based on a form.
 * 2) Change the Visibility of the Error method to Hidden.
 * 3) Add some code to the Error method.
 * 4) Open this class in the Class Browser.
 * 5) View the class code.

RESULT: The generated code does not indicate that the Error method is Hidden.

