Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change shortcut menu options at runtime
Message
From
30/04/2014 08:36:50
 
 
To
30/04/2014 04:53:46
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01599282
Message ID:
01599290
Views:
90
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform