Slider value in realtime

BlitzMax Forums/MaxGUI Module/Slider value in realtime

Curtastic(Posted 2006) [#1]
Any way to get the value of a slider while the mouse is still down and the user is dragging the knob? It seems to only generate an event when the user lets go of the knob.


Also can the slider not reset its knob when you drag the knob all the way to the bottom and (without letting go) move the mouse way farther down than the bottom of the slider? Some programs would keep the knob at the bottom (such as IE in XP). I hate it when the knob goes back to where it originally was when I haven't let go of it.


skidracer(Posted 2006) [#2]
You need to use eventhooks as it's the WaitEvent command that gets a bit stuck in windows when the user "goes modal".

There is an introduction to event hooks in the blitzmax->help->tutorials->maxgui overview or see Assari's tutorial.


Curtastic(Posted 2006) [#3]
Thanks. Hire him!