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

Click here to load this message in the networking platform