Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement