Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form class params
Message
De
16/11/2000 09:25:50
 
 
À
15/11/2000 16:32:52
John Deupree
Long Term Care Authority
Tulsa, Oklahoma, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00442337
Message ID:
00442604
Vues:
8
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform