Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Procedure file
Message
From
21/03/2000 12:03:46
 
 
To
21/03/2000 06:47:49
Anthony Suarez
Black Marlin Data Corporation
Taguig, Philippines
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00347862
Message ID:
00348444
Views:
38
>Project components automatically added during compilation. But you must first see to it that when you right click the procedure file in the project, the "include" option should be marked check. Otherwise, the exe file would search for the procedure file in the search path,i.e., menu file was part of the project but I forgot to verify if the "include" option was marked, so the result was, everytime i open the application, a dialog box displayed to select the menu file... If this doesn't work, maybe i don't get what you're pointing to..


If you have a "main" program that starts your app, and it has tacked on to the end of it several other functions/procedures, there is no need for a SET PROCEDURE TO.

*Main.prg
DO mymenu.mpr
READ EVENTS

FUNCTION x1
...
FUNCTION x2
...
FUNCTION x3
...

*End of Main.prg

If you need to call functions X1, X2, or X3 from anywhere within your code (from your mymenu.mpr, or from a form that is brought up from the menu) you can just call it and use it. There is no need for a SET PROCEDURE TO MAIN.PRG
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform