Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Popup Menu Error (VFP6 SP3)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Popup Menu Error (VFP6 SP3)
Divers
Thread ID:
00257486
Message ID:
00257486
Vues:
42
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform