Slider bigstep
BlitzMax Forums/MaxGUI Module/Slider bigstep
| ||
| How do I tell if the user clicked the part of a vertical slider that does a pagedown? |
| ||
| Its been 5 days and I'm getting scared... I need to set how much the slider changes when the user clicks on the "track" part. this HAS to be possible. ![]() thanks to google image search for that one ^ |
| ||
| The actual slider does not change at all. It always look the same. It moves the same amount as if you have pressed the PageUp or PageDown keys depending on which part of the track you clicked on. Barney |
| ||
| I want the slider's value to increase by 10 when the user clicks the track area, and by 1 when the user clicks the down arrow. A slider made from CreateSlider() |
| ||
like this?
' createslider.bmx
Strict
Local window:TGadget=CreateWindow("My Window",0,0,240,240,,WINDOW_TITLEBAR)
Local slider:TGadget
slider=CreateSlider(30,10,16,200,window,SLIDER_VERTICAL)
SetSliderRange slider,10,100
While WaitEvent()
Print CurrentEvent.ToString()
Select EventID()
Case EVENT_WINDOWCLOSE
End
End Select
Wend
|
| ||
| oh cool thanks. doc definately needs to say that. |
