Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form class params
Message
From
16/11/2000 09:25:50
 
 
To
15/11/2000 16:32:52
John Deupree
Long Term Care Authority
Tulsa, Oklahoma, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00442337
Message ID:
00442604
Views:
11
>I have a form class that accepts 2 parameters in the Init method. I have subclassed the original class and extended it's functionality. I want the sub-classed form to have a 3rd param. How can I accept another param without rewriting the whole init method in the second class?

When you subclass the form, it should automatically add your parameters to the Event:

LPARAMETERS teParam1, teParam2

Add another parameter to that list, and depending on where want your parent class code to run in relation to your new code, call DoDefaut(teParam1, teParam2)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform