Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro Substitution in Menu
Message
De
15/10/2004 16:03:57
 
 
À
02/07/2001 09:11:50
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00525846
Message ID:
00951840
Vues:
7
Yes you can use expressions and field names in the prompt of the menu designer. Just remember that whatever you input as the prompt will be wrapped in quotes.
My example uses the shipment number from a view field.
Input the prompt into the designer as:

Process shipment: "+ALLTRIM(V_transport.shipment)+"

Then when the menu generator wraps it in quotes the result is:

DEFINE BAR 1 OF shortcut PROMPT "Process shipment: "+ALLTRIM(V_transport.shipment)+""

There you go, no macro substitution or special menu generators required.
Thank you,
- Frank
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform