Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing User Input from forms
Message
De
20/03/2000 13:18:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00323766
Message ID:
00347991
Vues:
21
Freddie,

>What do you mean by creating a custom method of the form?
>
>RunReport()

With your form open in the form designer, choose the Form menu, and choose New Method. Name it RunReport and click Add. You now can open that method in the properties sheet or Code window and add the code.
>
>What is cmdRunReport.Click()

The Click event of a command button. Add a command button to your form. It will be named Command1 or something like that. In the properties sheet, change its name to cmdRunReport and its caption to whatever you like, for example "Run Report". Find the click event in the properties sheet or code window and add the code to it. That code will run when you click the button.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform