Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page.Activate fires if any object Sets Focus
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00642790
Message ID:
00642887
Vues:
20
>Hi, Nadya!
>
>>>
>
if thisform.EditMode and dodefault() && in Edit Mode this method means save
>   thisform.SaveProceed() && Some additional actions, after the record was saved
>else
>   dodefault() && Add method
>endif
>
>I don't really see a difference between the first code and the second.
><<
>
>The difference is: If "This.Editmode = .T.", but DoDefault() returns .F. then the ELSE case is fired - and calls DoDefault() again!

You're right! I guess, I need a fresh eye once in a while!

Thanks for the help.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform