Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sub bar on popup menus
Message
From
14/12/2005 14:02:53
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01077966
Message ID:
01077988
Views:
38
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform