Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Popup Menu Error (VFP6 SP3)
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Popup Menu Error (VFP6 SP3)
Miscellaneous
Thread ID:
00257486
Message ID:
00257486
Views:
41
Receive error 'Menu specified in ACTIVATE POPUP is already in use.'!

Create Popup Menu (Shortcut Style)that has at least one Sub-menu with items on it. Use the mouse to navigate to a item on the Sub-menu and then press the 'Enter' key to select it. Error!!!!

The following sample code snippet was generated using the menu builder.

DEFINE POPUP shortcut SHORTCUT RELATIVE FROM MROW(),MCOL()
DEFINE BAR 1 OF shortcut PROMPT "one"
DEFINE BAR 2 OF shortcut PROMPT "two"
ON SELECTION BAR 1 OF shortcut wait wind 'this is one...' timeout 2
ON BAR 2 OF shortcut ACTIVATE POPUP two

DEFINE POPUP two SHORTCUT RELATIVE
DEFINE BAR 1 OF two PROMPT "second level"
DEFINE BAR 2 OF two PROMPT "bar 2"
ON SELECTION BAR 1 OF two wait wind 'second level...' timeout 2
ON SELECTION BAR 2 OF two wait wind 'bar 2' timeout 2

ACTIVATE POPUP shortcut

Thanks for the help.
Next
Reply
Map
View

Click here to load this message in the networking platform