Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug on Shortcut Submenus
Message
From
07/03/2011 09:29:09
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01502825
Message ID:
01502833
Views:
58
I our APP it is called in the right mouse click event to show a Shortcut menu.

Bud the Sample code below shows the same behavior. To get the bug you have to position your mouse pointer to the left side, then start the Code.

Nearly the same bug had beend solved by the SP2 of VFP9. Bud now the bug is still there if the text zoom is on 125%.

>How do you activate this popup? Where this code is called from?
>
>>
>>if I choose 125% Text Zoom (Control Panel\Appearance\Display), an I want to Display an shortcut menu with submenus at the left side of the screen the Submenu pops out off the left side of my screen.
>>How to fix this?
>>
>>Here some Code to test:
>>
>>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"
>>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
>>
>>
>>greetings from germany
Jörg Schneider
Joerg.Schneider@SMARTCRM.de
SMARTCRM CRM powered by MS Visual FoxPro
SMARTCRM GmbH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform