Polling the mouse

Klaus Major klaus at major-k.de
Wed Dec 1 04:34:50 EST 2004


Hi Lince,

> What will be the consequence of polling the mouse in Revolution.
>
> repeat until the mouse is up
>   set the loc of btn "dragBtn" to the mouseLoc
> end repeat

in this case the following would be more effective:

Script of btn "dragBtn"

on mousedown
   grab me
end mousedown

No damnation and no purgatory ;-)

> Thanking you,
>
> Lince M Lawrence
> FOCAL IMAGE (INDIA) PVT. LTD.
> [ mailto:lince at river-valley.com ]

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de



More information about the use-livecode mailing list