Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MOUSE and MROW(), MCOL()
Message
From
12/08/1998 20:51:31
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00125976
Message ID:
00126329
Views:
31
Why don't you just:

ACTIVATE POPUP listmake ;
AT thisform.txtUv_make.top+thisform.txtUv_make.height, ;
thisform.txtUv_make.left

since you know where the mouse is located?

Vlad

>I have recently discovered an undesirable problem (as if any problem is desirable!). I have a popup defined (but not active). When a user clicks a buttun next to a text box, I want the mouse pointer to be positioned at the bottom left corner of the text box and the popup activated there. What I did was use the MOUSE command to position the mouse:
>
>MOUSE AT thisform.txtUv_make.top+thisform.txtUv_make.height, ;
> thisform.txtUv_make.left ;
> PIXELS
>
>At that point I want to ACTIVATE my popup:
>
>ACTIVATE POPUP listmake ;
> AT MROW(), MCOL()
>
>But what's happening is the mouse does move the proper location, but the popup gets activated where the mouse WAS. It's like wherever MROW and MCOL get there values from isn't updated quickly enough.
>
>Any ideas?
>
>Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform