Mouse scroll wheel problems
Greg DeVore
gdevore at mac.com
Tue Oct 7 13:41:00 EDT 2003
I am having a bit of trouble getting the mouse scroll wheel to work.
I have set up a rawkeydown handler that reads like this:
On rawKEyDown theKeyNumber
if theKeyNumber is 65308 then -- mouse wheel down
put the vscroll of group "View" into tScroll
add 10 to tSCroll
set the vscroll of group "View" to tScroll
else if theKeyNumber is 65309 then -- mouse wheel up
put the vscroll of group "View" into tScroll
subtract 10 from tSCroll
set the vscroll of group "View" to tScroll
else pass rawKeyDown
end rawKEyDown
The problem is that Rev only seems to recognize the rawkeydown message
intermittently on OS X and not at all on OS 9. When it does get the
rawkeydown message in OS X everything works as it should.
Any suggestions?
Greg DeVore
Blue Mango Multimedia
media at gregdevore.com
661-753-9335
More information about the use-livecode
mailing list