Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to replace a word in a menu?
Message
 
 
À
10/01/2007 14:23:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01184317
Message ID:
01184334
Vues:
19
>>I would like to find a way to replace a word in a menu. For example, say I have a word "Tenant" in some pull-down menus and want to replace it with "Owner". I want to do it at run-time on the fly. Should I open mymenu.mpr file before displaying it and replace it there?
>>
>>Thank you.
>
>You should use DEFINE BAR, e.g.
>DEFINE BAR 2 OF tasks PROMPT "My New Task"
>You can see your menu name ('tasks') in menu.mpr file

Thank you, I will try this approach.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform