Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Restore to Defaults Button
Message
De
14/02/2008 13:27:58
 
 
À
14/02/2008 13:16:51
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01292707
Message ID:
01292715
Vues:
23
>I have a form class and wondered what might be the best approach to put a button on it that would restore values when clicked to whatever they were when the form was first initialized. I can put such a button on an instance of that form and then have a list of things to reset depending on the values, but I would like to make it more generic if possible. Any way that makes sense to use SAVE and RESTORE or something like that? That seems so old school though.

If the items in question are fields of a table, buffering makes this easy. Just use TableRevert().

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform