Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Method doesn't show up, but it's there
Message
From
09/10/2000 18:53:05
 
 
To
09/10/2000 16:59:43
Steven Edge
Soft Solutions Limited
Lagos, Nigeria
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00426501
Message ID:
00427093
Views:
17
>The way the class browser is designed, it will only show the method or property where it was first defined, even if code was added in a child.
>
>Really nothing to get confused about. It is just to understand that that was the logic that was chosen when the tool was made and accept that that is how it is.
>
>I agree that the logic you state could have been applied. That is, show the method where code was added. But other scenarios are possible as well. If the method was implemented in several layers, do we display it in all layers? What about if the method is defined in the parent but left blank. Should the method show in the parent? What about showing all the methods in the child even if there is no implementation in the child? After all, they are accessible from the child.
>
>Just thinking of all the possibilites here makes ME confused, and I am kind of happy with the way it works right now.
>

You might want to look at Ken Levy's SuperCls, which does permit you to drill back to reach code inherited from further up the inheritance chain; it's an add-in to the Class Browser, and like everything Ken does, it's free, and the source is available for it.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform