Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sub bar on popup menus
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01077966
Message ID:
01077988
Vues:
39
>Claudio,
>
>Something like this?
>
Hey Hugo.. Thanks

Almost like this.. Because when 'myMulti' comes in the myShortcut goes away.. And this behavior looks weird for the enduser.. I've been wondering some default behavior for submenus

Claudio

>
>DEFINE POPUP myShortcut SHORTCUT RELATIVE FROM MROW(),MCOL()
>DEFINE BAR 1 OF myShortcut PROMPT "myfirst  item one"
>DEFINE BAR 2 OF myShortcut PROMPT "mysecond item one"
>DEFINE BAR 3 OF myShortcut PROMPT "mymulti  item one  >"
>
>ON SELECTION BAR 1 OF myShortcut wait window 'My First'
>ON SELECTION BAR 2 OF myShortcut wait window 'My Second'
>ON SELECTION BAR 3 OF myShortcut ACTIVATE POPUP myMulti
>
>DEFINE POPUP myMulti SHORTCUT RELATIVE  FROM MROW()+1,MCOL()+1
>
>DEFINE BAR 1 OF myMulti PROMPT "my first multi"
>DEFINE BAR 2 OF myMulti PROMPT "my second multi"
>DEFINE BAR 3 OF myMulti PROMPT "my thirdy multi"
>
>ON SELECTION BAR 1 OF myMulti wait window "my first multi"
>ON SELECTION BAR 2 OF myMulti wait window "my second multi"
>ON SELECTION BAR 3 OF myMulti wait window "my thirdy multi"
>
>ACTIVATE POPUP myShortcut
>
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform