Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro Substitution in Menu
Message
De
02/07/2001 09:33:26
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:
00525851
Vues:
31
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform