The right one works, but always two units.
How can I use the left arrow?
How can I step one or four units by using the arrows?
Code: Select all
If OpenWindow(0, 0, 0, 300, 140, "ScrollBarArrow <", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ScrollBarGadget(0, 10, 50, 280, 20 ,0, 300, 50, #PB_ScrollBar_Vertical)
SetGadgetState(0, 125)
Repeat
Event = WaitWindowEvent()
Select Event
Case #PB_Event_Gadget
Select EventGadget()
Case 0 : Debug GetGadgetState(0)
EndSelect
EndSelect
Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf

