Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro Substitution in Menu
Message
From
02/07/2001 09:33:26
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00525846
Message ID:
00525851
Views:
30
Hey Vlad,

Ok, that makes sense. Could I just create a prg that simply adds my prompt to the menu created with the designer?

Renoir


>Hi!
>
>No way through menu designer. Just generate MPR file with all menu items, than change it to PRG, remove menu from project and add that PRG. Use PRG file for menu creation. It is pure VFP commands file that you can use to create menus programmatically. You can alter it as you want.
>
>BTW, instead of & use ():
>
>DEFINE BAR ... PROMPT (m.cMyPrompt)
>
>HTH.
>
>>I thought this would work, but Foxpro wraps the prompt in quotes in the source code. I want to display a value as one of the menu prompts. I used &cPromptValue, but it causes an error on compile. Is there a way to do this through the designer? Thanks!
>>
>>Regards, Renoir
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform