Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Class
Message
De
03/03/2000 18:14:45
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00340494
Message ID:
00341567
Vues:
30
>There are methods that have default behavior associated with them.

Like what? I don't doubt you, I just can't think of any off my head. Just QueryUnload()

>VFP's default behavior is not overridden by adding code to the method (it requires a NODEFAULT to override it).

That was my point, that makes it exactly like an Event. Where as a method that should be inherited would be disabled with the comment. I know noone said VFP Base Methods are nesacarilly inherited, but it would make sense that they should be.

>Event Methods are fired when events occur. They can also be called in code, but calling them does not cause the vent to occur. it is the event itself that causes the sequence of calls that VFP executes (i.e, click followed by setfocus and lostfocus). Calling the event does not begin the sequence, it simply runs the code in the called method.

This is also exactly what I tried to say. Then added tried to communicate that the Code you put in a VFP Method, is really only an Event in itself. But yes, calling a VFP Method does do its stuff.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform