Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclassing forms
Message
From
05/08/2003 16:22:14
 
 
To
05/08/2003 16:03:30
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00817054
Message ID:
00817067
Views:
26
This message has been marked as the solution to the initial question of the thread.
You don't see the code in the inherited methods in the editor, but it runs if you don't add code to the same method of the subclass. If you do add code, you can run the parent method with the DODEFAULT() function.


>Hi everyone
>I created a visual class of a form that contains code in the init and load procedures. I also have code in a click event on the form class. I created a new subclass BASED ON the class described above. All properties and controls were inherited as expected, however the code within the procedures and controls was not inherited by the subclass form.
>
>My question: Am I doing something wrong, or is it not possible to inherit the code from a visual class, to a visual class. It it is possible to inherit the code in the subclass, how does one go about doing that?
>
>thanx, vince
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform