Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help With First Menu
Message
From
31/10/2006 22:03:56
 
 
To
31/10/2006 21:33:23
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01165460
Message ID:
01166047
Views:
14
>Pablo/Tracy:
>I don't have XP. I have Win2000. I am so frustrated and confused.
>I found an old small test program that I did about a year ago, and that does have a menu in it that works. I have compared that old app with this one as far as form properties, and they are identical. In the old app I launched the form from the main.prg and I called the menu from the form's INIT using the following statement...
>DO menu2.mpr WITH This, .T.
>I don't even know where I got that line of code from, but it does work on the old app. The same line however, does NOT work on my current app. I get some error message about a missing parameter.
>There just does not seem to be any rhyme or reason with this.

Rich, believe me when I tell you, I sympathise. Suggestion: Don't call the menu from within the form. Do the app following the logic I suggested. Now, I am not a true developer in the sense that what I do are small apps to help me do the job at my place of employment, and so far that is all, except for some apps that I've had to give to a secretary in the office because it proved to be so straightforward that I didn't want to do it anymore and it was passed on to her. (BTW, she loves being able to do that task and I simply support and update it every once in a while, mostly to add error trapping and to improve the user interface).

Any way, I would do one task at a time, and build from there, beginning with a menu that will show. Then write the command in the menu choices to call the form with a command like: Do Form ("RichForm").

Check to make sure the form name is indeed named RichForm. Etc, etc.

I'm sure you'll get rid of the frustration. Oh, out of curiosity, what version of VFP are you running?
=========================
PabloSr, Still Learning!
DevDBFox
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform