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:
01261817
Views:
11
>Excellent. SP2 has cured the 'VISTA hides the shortcut submenu' problem (Thread #1228167).
>
>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
>
It occurs in 8.0 too. I agree this behaivor is unexpected. This the menu is to be skipped, the bar should be ignored. When scrolling through the options it should go from bar 1 straight to bar 3. If bar 2 is clicked on, nothing should happen. IMO.
Greg Reichert
Previous
Reply
Map
View

Click here to load this message in the networking platform