Jibble

Author Topic: Scroll Wheel utilization ?  (Read 241 times)

Scroll Wheel utilization ?
« on: 08 Jun 2021, 18:17 »
Hi !

I have a very simple question, I looked for a long time for an answer, but never found any...

I want to use the mouse wheel in a game to allow to scroll a slider up and down (it allows to scroll a label into a GUI to read the whole text that can't be displayed fully in the GUI).

Which functions can I use for that ?

Many thanks !

EDIT : oh sorry, I finally found out the solution... in the tutorial... It's like when I ask for help, help comes by it's own... :D
« Last Edit: 08 Jun 2021, 18:22 by Baguettator »

eri0o

Re: Scroll Wheel utilization ?
« Reply #1 on: 08 Jun 2021, 18:32 »
For anyone who found this from Google, below is the excerpt from the manual, about the on_mouse_click event handler:

Quote
If 'Enable mouse wheel support' is enabled, this function can also be called with eMouseWheelNorth or eMouseWheelSouth

So don't forget to first enable the functionality in general settings.