Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change shortcut menu options at runtime
Message
From
30/04/2014 09:01:17
 
 
To
30/04/2014 08:36:50
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:
01599293
Views:
47
>>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
Thanks - will give it a go! I have led a very simple life to date - managing to avoid building my own menus and relying on the built in menu designer. Still, nothing ventured, nothing gained.
Barry.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform