why a popup-menu does not open at a new defined mouseloc?

zryip theSlug zryip.theslug at gmail.com
Sat Feb 27 20:36:02 EST 2010


2010/2/27 G.W.Gaich <gwolfgang at gaich.de>:
> Hi all,
>
> does anyone know why a popup-menu does not open at a new defined mouseloc?
>
>
> -- the mouse is at 101,105 in a card
>
> in an arrowkey-script of a field:
>     ....
> answer the mouseloc  --> 101,105
>       set the screenmouseloc to globalloc(the loc of btn "b")
> -- the loc of button "b" is at 120,170
>
> answer the mouseloc --> 120,170 --> ok
>
> -- in mousedown of btn "b" there is a popup
>
> send "mousedown" to btn "b"
>  ....
>
> -- the popup opens at 101,105
> -- not at 120,170
>
> Why???
>
> Windows XP, rev 4.0.0-gm-1
>
> Thanks
>
> Wolfgang

Hi Wolfgang,

Not sure what you want to do with this script but why do you not using the

   click at the loc of btn "b"

form ?

-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc



More information about the Use-livecode mailing list