Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to put the code?
Message
 
À
21/08/1998 15:02:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00128883
Message ID:
00128895
Vues:
22
I put the save code in the button. You can still call the save function from a menu or toolbar, you just need to call the click event of the button. (i.e. frmCustomer.cmdSave.click())

It would be the same for putting the code in a form method. You still call it the same way. (i.e. frmCustomer.saveMethod())

If you use the save function in more than one form, you may want to consider creating a class for a save button.

Does anyone else have a solution?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform