Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing the parentclass
Message
 
À
22/11/2000 15:48:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00444743
Message ID:
00445055
Vues:
38
>Hi, everybody!
>I have a form wich is based on 2
>classes, when i'm pressing the button
>i want the code in the methode("SETMODE") of the parentclass
>to be executed . hOW DO I DO THAT!!!
>Thank U in advence.


Ilya,

If you want to run the code from the first class in the chain then you can try theclassname::themethodname(yourparms)
the double :: is used to call that class directly.
with dodefault() you call the same method of the parent class.
not the code from the grandparent.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform