maxgui suprised me today (EVENT_MOUSEUP on slider)

BlitzMax Forums/MaxGUI Module/maxgui suprised me today (EVENT_MOUSEUP on slider)

skn3(Posted 2011) [#1]
Sometimes maxgui is a hard thing to be friends with. You have to hack a lot of things and get through lots of one sided arguments. Eventually maxgui will do what you want it to do, as long as you are patient...

Today though, maxgui surprised me! I needed to monitor an entire scrollbar session instead of just listening to the individual EVENT_GADGETACTION. I thought "oh here we go time for more hacks!?"... to my surprise the slider works out of the box with setgadgetsensitivity and the EVENT_MOUSEDOWN/EVENT_MOUSEUP events. I was able to trap these events and then perform an action when the mouse up event fired!

Fan bloody tastic :D

I just thought Id post that little bit of joy, and if anyone else has the same question in the future... yes it does!

Last edited 2011