Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I update popup on dropdown?
Message
From
04/07/2006 07:02:27
 
 
To
04/07/2006 06:43:57
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01133548
Message ID:
01133554
Views:
11
>The only way I have found to update a menu from within the menu is to use the SKIP FOR clause
>ie SKIP FOR myfunction()
>
>myfunction() can update/modify the popup(s) and return FALSE
>
>The SKIP FORs are evaluated each time the main menu is activated

Thank you guys for so fast reply!!!

Another solution I found on my own is to use: ON BAR ... DO UpdateSubMenu
and at the end of UpdateSubMenu procedure reset ON BAR to ACTIVATE POPUP.
But this works only for one time, however it is useful for dynamically created shortcuts.
/A new technology turns into completely outdated stuff before you have a time to read "Getting Started..." section.
/If there are some "system programmers" then others are unsystematic.
Previous
Reply
Map
View

Click here to load this message in the networking platform