Mouse wheel event (Win32)

How do I scroll a scrollview content using the mouse wheel?

You can try this hack:

https://forums.coronalabs.com/topic/61465-osx-scrollview-working-with-mouse-wheel/

i’ve tried the code in windows machine but gave me an error when scrolling the mouse wheel:

?:0: attempt to compare nil with number

also is there any change to have tableviews with mouse wheel also? is corona working on this or we have to do it ourselfs?

corrected the problem. “h” was not defined in the code provided by the author.

thanks to @keystagefun for sharing hes code. hope corona will do that native and in tableviews also :wink:

You can try this hack:

https://forums.coronalabs.com/topic/61465-osx-scrollview-working-with-mouse-wheel/

i’ve tried the code in windows machine but gave me an error when scrolling the mouse wheel:

?:0: attempt to compare nil with number

also is there any change to have tableviews with mouse wheel also? is corona working on this or we have to do it ourselfs?

corrected the problem. “h” was not defined in the code provided by the author.

thanks to @keystagefun for sharing hes code. hope corona will do that native and in tableviews also :wink: