scrolling with the mouse

Mark Schonewille m.schonewille at economy-x-talk.com
Sat Apr 19 17:33:57 EDT 2014


Larry,

This will respond to the scroll wheel:

on rawkeyDown theKey
    if theKey is 65309 then
       put "up"
    else if theKey is 65308 then
       put "down"
    else
       pass rawKeyDown
    end if
end rawkeyDown

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Installer Maker for LiveCode:
http://qery.us/468

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi

LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 4/19/2014 23:10, larry at significantplanet.org wrote:
> Is there a command to respond to a user who rotates the scroll wheel on a standard windows mouse?
>
> TIA
> Larry





More information about the use-livecode mailing list