PRB: Class Browser Does Not Recognize InheritanceID: Q131941 The information in this article applies to:
SYMPTOMSThe Class Browser (Browser.app) displays only the methods, properties, and members that were added directly to the class. What you do not see are any methods, properties, or members that the class inherited from a parent class. For example, you create a text box class <parent class> and add a new method to the class. Then you creast a new class based on <parent class> and a method is added to this <subclass>. In the properties sheet under the Method tab, you can see that the inherited method from the <parent class> is shown with the method added in the <subclass>. However, when you run the Class Browser and select the <subclass>, the Class Browser displays only the method added directly to the <subclass>.
STATUSThis behavior is by design. The class browser only shows members of the immediate class, not of any parent classes. There are two reasons for this:
MORE INFORMATION
Steps to Reproduce Behavior1. Create a class called testparent based on a text box, and store the 2. Add a new method to the testparent class called test1. Save the class
3. Create a new class called testsub based on testparent, and store the new
4. Add a new method to the testsub class called test2. Save the class by
5. Open the Properties sheet with testsub open, and click the Method tab.
6. Close the Class Designer, and start the Class Browser.
7. Open the Test.vcx library when prompted. 8. Click the testsub class in the class hierarchy tree. 9. In the list under the All tab, the only item showing is 'm ~ test2'. Additional reference words: 3.00 VFoxWin
KBCategory: kbtool kbprb
KBSubcategory: FxtoolOtherdes
|
Last Reviewed: July 28, 1995 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |