Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a procedure
Message
From
08/04/2005 08:02:02
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01002546
Message ID:
01002560
Views:
12
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform