Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's that syntax to call base class method?
Message
De
01/05/2009 15:38:51
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
01/05/2009 12:39:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01397455
Message ID:
01397513
Vues:
55
>I can't remember the syntxa to call the base class method code so as to skip the local code that is in the method.
>
>My form has a FormSave() method that is inherited from the base class. I have added some local code to it, but I want to call the base class method from another place in the form, and in that case, I do not want to just call Thisform.FormSave() becuase I do not want the local code to run.
>
>Is it Thiform::FormSave()

Now that you have the right advice already, just FYI, it's [classname]::[method], so

form::save()

or in your case, probably

grandparentclassname::FormSave()

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform