Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MOUSE and MROW(), MCOL()
Message
De
12/08/1998 20:51:31
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00125976
Message ID:
00126329
Vues:
26
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform