Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 9.0, SP2 now available
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01260474
Message ID:
01261812
Views:
16
Looks like a bug to me but it existed prior to SP2.

>However, submenus open even when the originating bar is disabled with SKIP, as below. I now can't remember if this was the standard behaviour beforehand.
>
>
>DEFINE POPUP _popShortcutMenu ;
>		FROM MROW(),MCOL() ;
>		MARGIN ;
>		RELATIVE ;
>		SHORTCUT
>DEFINE POPUP _SubMenu ;
>	SHORTCUT RELATIVE
>DEFINE BAR 1 OF _popShortcutMenu PROMPT "Item 1"
>DEFINE BAR 2 OF _popShortcutMenu PROMPT "Item 2 With sub" SKIP
>DEFINE BAR 3 OF _popShortcutMenu PROMPT "Item 3"
>ON BAR 2 OF _popShortcutMenu ACTIVATE Popup _SubMenu
>Define Bar 1 Of _SubMenu Prompt "SubMenu 1"
>Define Bar 2 Of _SubMenu Prompt "SubMenu 2"
>ACTIVATE POPUP _popShortcutMenu
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform