Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a procedure
Message
De
08/04/2005 08:02:02
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01002546
Message ID:
01002560
Vues:
17
>I have a messagebox that I want to display everytime a user does a certain task. This task can be performed in many places. Therefore I have a program with a list of procedures as well as my new procedure. How do I call the procedure in my event. For example if they select the word 'Complete' in my combo I want to call my procedure named 'messge' which is stored main.prg.
>
>Any help would be greatly appreciated.

Neil

Further to John's suggestion:

Somewhere in your parent code issue:

Set Procedure to MyProcedureListProg

and, wherever you want to call the proc:

DO Messge WITH "Complete"

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform