Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change shortcut menu options at runtime
Message
De
30/04/2014 08:36:50
 
 
À
30/04/2014 04:53:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01599282
Message ID:
01599290
Vues:
93
This message has been marked as the solution to the initial question of the thread.
>I have a grid in which I have a text box. On right clicking the text box I have a shortcut menu pop up with 3 options; depending upon various flags set in the selected record I wish to change the wording on the shortcut option e.g "Accept" or "Reject". Is it possible to do this with a single shortcut menu or do I have to have 2 separate menus for each alternative (in which case I would need 6 menus to cover all the possible variations!).


I do this kind of thing by building the shortcut menu on the fly. That is, the RightClick method calls a method that issues the appropriate DEFINE BAR commands.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform