Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP5.0 DODEFAULT in VFP3.0
Message
 
À
04/02/1997 18:08:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00019271
Message ID:
00019306
Vues:
57
>>>>How do you execute the default behaviour of a method in the immedate parent of an object. Is this the :: usage?
>>>
>>>DODEFAULT()
>>This is a 5.0 command, what I need is a way of performing the same thing in VFP3.0.
>
>YourClass::MethodorEvent()
>
>Example:
>
>BaseForm::Init()

Also it is good to remember, that there are several ways to call it, what could be used in different situations.
BaseForm::Init()
or
=EVALUATE(this.Class+"::Init()")
or
=EVALUATE(this.ParentClass+"::Init()")
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform