Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add a custom method to a listbox
Message
De
03/08/2000 19:26:51
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Add a custom method to a listbox
Divers
Thread ID:
00400785
Message ID:
00400785
Vues:
54
Hi. I have this form, which acts as a general report driver screen. It contains a listbox. The listbox is populated from a database and contains the name of a report. When the user clicks on a report name, and then clicks Print, I want to execute some code that sets up the report (as these are complex reports based on preprocessing and sql queries). I want to be able to set up a new method in the listbox control, to allow me to 'call' that code when the print button is pressed. I have alot of reports and don't want to hardcode 'CASE REPORT=1 do blah blah blah, CASE REPORT = 2, etc.' in the form level custom method. Can anyone clever tell me a way to accomplish this?

Thanks for your help.

Sandi Cassidy
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform