Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use a variable for a menu pad or prompt string
Message
From
22/11/2000 13:18:34
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00444266
Message ID:
00444689
Views:
7
>>>>Any way to use a variable or a function value as the prompt string in a menu?
>>>>
>>>>TIA
>>>
>>>GenMenuX may well give you the option to use an expression for a menu prompt, but I suspect that it will only take the value of the expression at the time that the menu is defined (when the .mpr is run).
>>
>>I think you mean when the .MPR is generated. What I want is to change it at runtime.
>>
>
>GenMenuX allows you to insert a preprocessing directive for a pad that is evaluated when the MPR program is run to setup and display your menu. It won't change on the fly if you change the variable. To do that, you have change the variable value and re-run the MPR file.
>
>*snip*

OK, re-running the MPR would be fine by me. Thanks.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform