on 01.23.02 04:29 AM, [EMAIL PROTECTED] wrote:

> new and improved... no flashy text...
> 
> on xy
> repeat until the mouseClick
> get the mouseLoc&&"  horz:"&the mouseH&&"  vert:"&the mouseV
> if it is not lastxy then
> put it
> put it into lastxy
> end if
> end repeat
> end xy

To avoid bottling up the engine servicing your loop:

on mouseMove mX, mY
 put format( "horz: %d  vert: %d", mX, mY )
end mouseMove 

Scott Raney has told us in the past that "repeat until the mouseClick" is
not a good idea because it bolixes up the event handling in the engine. I've
found that mouseMove works wonderfully in situations where you'd be tempted
to use "repeat until the mouse is up" or similar loops.
 
tereza 



+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ <www.attainmentcompany.com>
+ 800.327.4269

_______________________________________________
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Reply via email to