Hi all,
I've got a client who reports problem with the contextmenu in a VFP
application on a Vista box.
The context-menu has a second popup that's shown when a specific item in the
context-menu is selected. The 2nd popup however is shown on the wrong side
of the parent-popup so only the border of the 2nd popup is visible. The rest
is rendered off-screen.
Anyone heard of this and maybe has a solution/workaround?
Sietse Wijnker
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
Sietse,
> The context-menu has a second popup that's shown when a specific item in the context-menu is selected. The 2nd popup however is shown on the wrong side of the parent-popup so only the border of the 2nd popup is visible. The rest is rendered off-screen.
You may want to report this problem on Calvin Hsia's blog site - there's
a lot of recent discussion there about Vista specific VFP fixes and
workarounds.
Malcolm
Does running it in Windows XP SP2 compatibility mode help?
On May 3, 2007, at 5:35 AM, Sietse Wijnker wrote:
> The context-menu has a second popup that's shown when a specific
> item in the
> context-menu is selected. The 2nd popup however is shown on the
> wrong side
> of the parent-popup so only the border of the 2nd popup is visible.
> The rest
> is rendered off-screen.
>
> Anyone heard of this and maybe has a solution/workaround?
Get a bigger monitor? ;-)
-- Ed Leafe
I concur, this code demonstrates that it always floats left instead of right
like it does in XP
In XP it properly changes sides when it is too close to the right side of
the screen.
LOCAL nBar1, nBar2
STORE 0 TO nBar1, nBar2
DEFINE POPUP pop1 RELATIVE SHORTCUT
DEFINE BAR 1 OF pop1 PROMPT [test 1]
DEFINE BAR 2 OF pop1 PROMPT [test 2]
DEFINE BAR 3 OF pop1 PROMPT [pop 2]
DEFINE BAR 4 OF pop1 PROMPT [test 4]
ON SELECTION POPUP pop1 nBar1 = BAR()
ON BAR 3 OF pop1 activate popup pop2
DEFINE POPUP pop2 RELATIVE SHORTCUT
DEFINE BAR 1 OF pop2 PROMPT [This is long text to expand further out than
needed.]
ON SELECTION POPUP pop2 nBar2 = BAR()
ACTIVATE POPUP pop1 AT MROW(), MCOL()
Tracy
-----Original Message-----
From: Sietse Wijnker
Sent: Thursday, May 03, 2007 5:36 AM
Hi all,
I've got a client who reports problem with the contextmenu in a VFP
application on a Vista box.
The context-menu has a second popup that's shown when a specific item in the
context-menu is selected. The 2nd popup however is shown on the wrong side
of the parent-popup so only the border of the 2nd popup is visible. The rest
is rendered off-screen.
Anyone heard of this and maybe has a solution/workaround?
Sietse Wijnker
It gets more weird when a third level is added.
LOCAL nBar1, nBar2
STORE 0 TO nBar1, nBar2
DEFINE POPUP pop1 RELATIVE SHORTCUT
DEFINE BAR 1 OF pop1 PROMPT [test 1]
DEFINE BAR 2 OF pop1 PROMPT [test 2]
DEFINE BAR 3 OF pop1 PROMPT [pop 2]
DEFINE BAR 4 OF pop1 PROMPT [test 4]
ON SELECTION POPUP pop1 nBar1 = BAR()
ON BAR 3 OF pop1 activate popup pop2
DEFINE POPUP pop2 RELATIVE SHORTCUT
DEFINE BAR 1 OF pop2 PROMPT [This is long text to expand further out than
needed.]
ON SELECTION POPUP pop2 nBar2 = BAR()
DEFINE POPUP pop3 RELATIVE SHORTCUT
DEFINE BAR 1 OF pop3 PROMPT [test 1]
ON BAR 1 OF pop3 activate popup pop1
ACTIVATE POPUP pop3 AT MROW(), MCOL() BAR 1
*---- above code ends up looking something like this
| test 1 | test 1 >|
| test 2 |----------
| pop 2 >| | This is long text to expand further out than
needed. |
| test 4 |
--------------------------------------------------------
----------
Tracy
-----Original Message-----
From: Sietse Wijnker
Sent: Thursday, May 03, 2007 5:36 AM
Hi all,
I've got a client who reports problem with the contextmenu in a VFP
application on a Vista box.
The context-menu has a second popup that's shown when a specific item in the
context-menu is selected. The 2nd popup however is shown on the wrong side
of the parent-popup so only the border of the 2nd popup is visible. The rest
is rendered off-screen.
Anyone heard of this and maybe has a solution/workaround?
Sietse Wijnker
And now it's entered as a bug:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?Feedba
ckID=275450
Tracy Pearson wrote:
> And now it's entered as a bug:
> https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?Feedba
> ckID=275450
>
>
My Vista laptop is in it's bag but I'll give it a whirl later and let
you know.
Great, Thanks.
Will monitor the feedback.
Sietse
-----Oorspronkelijk bericht-----
Van: profoxtech-bounces@leafe.com [mailto:profoxtech-bounces@leafe.com]
Namens Tracy Pearson
Verzonden: donderdag 3 mei 2007 17:31
Aan: profoxtech@leafe.com
Onderwerp: RE: Vista+context menu
And now it's entered as a bug:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?Feedba
ckID=275450
[excessive quoting removed by server]
Yep, busted for me too: