Moving a vertical slider with the mouse wheel
BlitzMax Forums/MaxGUI Module/Moving a vertical slider with the mouse wheel
| ||
I've searched here on this to no avail. How do I move a vertical slider with the mouse wheel? I know I can check for EVENT_MOUSEWHEEL events, I just don't know how to hook those up to the slider, so that the slider bar moves with the scroll. Thanks for any help David |
| ||
Sorry, silly question in retrospect. Answer: on EVENT_MOUSEWHEEL value = max(min_range,min(max_range,event.data)) SetSliderValue value Or thereabouts. |