Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug on Shortcut Submenus
Message
 
 
À
07/03/2011 09:29:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01502825
Message ID:
01502864
Vues:
83
"the right mouse click event" of what? Can you provide complete code to repro the problem?

>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
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform