Author: Tracy Pearson
Posted: 2007-05-03 at 08:53:12
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