Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use a variable for a menu pad or prompt string
Message
De
22/11/2000 13:18:34
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00444266
Message ID:
00444689
Vues:
12
>>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform