>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement