Information générale
Catégorie:
Codage, syntaxe et commandes
Daniel,
It could be a "workaround" for some bug in VFP. In such a case though the author should have noted so.
Also, if there's other code with what you showed, it may be that the author has a reason to have the default code run NOW rather than at the end.
Finally, as CraigB noted, if this is a subclass then the author wishes to have the code in the parent class run. THIS code would prevent that from happening normally but the DOFEFAULT overrides that so that it does execute.
cheers
>>It calls the code in the same method of the parent class.
>
>Ya, but why. If you don't put the code in the gotfocus, it's going to do
>the Dodefault() anyway, right? I've never understood that code either,
>I don't even know what it's supposed to do...
>Thanks
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