Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MOUSE and MROW(), MCOL()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00125976
Message ID:
00125983
Views:
24
>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?

How about Releasing popup, then re-Defining it for each use?
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform