Detecting MouseMove within scrollBar of fld

Ken Ray kray at sonsothunder.com
Mon Sep 22 00:54:00 EDT 2003


You could send a message to yourself every 10 milliseconds or so, as in:

on checkMouse x,y
  put x,y
  send "checkMouse" && quote & the mouseLoc & quote to me in 10
milliseconds
end checkMouse

That should work...

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/ 

> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com 
> [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Mac Dude
> Sent: Saturday, September 20, 2003 1:52 AM
> To: use-revolution at lists.runrev.com
> Cc: Mac Dude
> Subject: Detecting MouseMove within scrollBar of fld
> 
> 
> I noticed today that a MouseMove message is not generated while the 
> mouse is over the scrollBar portion of a fld.  Aside from using a 
> mouseWithin (ick), or adding my own scrollBar (yuck!), is 
> there a good 
> way to detect that the mouse is within the scrollBar region of a fld?
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com 
> http://lists.runrev.com/mailman/listinfo/use-> revolution
> 





More information about the use-livecode mailing list