Polling the mouse

Klaus Major klaus at major-k.de
Wed Dec 1 03:40:37 EST 2004


Hi Lince,

> What will be the consequence of polling the mouse in Revolution.

Eternal damnation and a special x-talk purgatory! :-D

> repeat until the mouse is up
>   set the loc of btn "dragBtn" to the mouseLoc
> end repeat
>
> Certain people discourage use of this in MetaCard and Revolution?

Jan (or his current clone on duty ;-) is right.
It will eat CPU time unecessarily.

And this is a very good read indeed:
http://www.hyperactivesw.com/polling.html

> 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