PeterSvi


I have a FoxPro 9 SP2 application and works just fine in WinXP machine. However in Vista (Windows Theme Vista), the submenu is always poping up at the left side of the bar even if it's running out of space. The result is that always something got cut off because part of the submenu is outside the range of the screen. I see other people posting the same question on the web but I was never able to find any answer at all. Is there any workaround or fix for this issue

In Vista (Windows Theme Classic) menu works fine.

Below please find a sample code that will show you the problem, again, it works fine in WinXP but having problem in Vista (Windows Theme Vista).



DEFINE POPUP _popShortcutMenu ;
FROM 1,5 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 POPUP _SubMenu SHORTCUT RELATIVE
Define Bar 1 Of _SubMenu Prompt "SubMenu 1"
Define Bar 2 Of _SubMenu Prompt "SubMenu 2"

ACTIVATE POPUP _popShortcutMenu


RELEASE POPUP _popShortcutMenu
RELEASE POPUP _SubMenu

Thanks for all your help!

Peter

In http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1881570&SiteID=1 the problem is not solved.





Re: VFP PopUp Menu Vista


Re: VFP PopUp Menu Vista

PeterSvi

In http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1881570&SiteID=1 the problem is not solved.

Peter





Re: VFP PopUp Menu Vista

dni

It seems to be solved in the last post...






Re: VFP PopUp Menu Vista

PeterSvi

As a result we have the menu a la DOS, and it would be desirable a la Windows.
Peter.




Re: VFP PopUp Menu Vista

PeterSvi

Thanks all who wished to help. The problem is solved. At me was VFP9 SP2 (v4611). After installation VFP9 SP2 (v5721) the menu works well.

Peter




Re: VFP PopUp Menu Vista

Vladimir Zografski

Hi PeterSvi,

The latest VFP9 Service Pack 2 version is 9.0.00.5815.
Installation package name is VFP9_Sp2.exe.
You can get it at the same link when you got original one
(VFP9SP2.exe) - http://www.microsoft.com/downloads/details.aspx familyid=a28ddec6-ba3c-49d0-8176-8c0b3fca06d1. You'll have to uninstall and reinstall VFP9 before applying Service Pack 2.