Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to put the code?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00128883
Message ID:
00128895
Views:
21
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?
Previous
Reply
Map
View

Click here to load this message in the networking platform