I get an output from the slide, and a range in the bar, of 0 to 100 no matter what range I set in the control. Even if I GuiControl to a specific value I only get a range of 0 to 100 for the progress bar.
What am I doing wrong here? Thanks
Code: Select all
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
#SingleInstance, Force
Gui, Margin, 5, 5
Gui, Font, s16 c0000FF, Arial
Gui, Color, Black
Gui, Add, Slider, x5 y5 w50 h200 Invert Vertical AltSubmit vs1 gs1, Range0-125
Gui, Add, Progress, x75 y5 w200 h260 Vertical BackgroundBlack c3636f7 vp1, Range0-125
Gui, Add, Text, x5 y225 w50 Center vt1, 000
;GuiControl, , p1, 110
Gui, Show, , Range Test
Return
s1:
Gui, Submit, NoHide
GuiControl, , p1, %s1%
GuiControl, , t1, %s1%
Return
Exit:
GuiEscape:
GuiClose:
Gui, Destroy
ExitApp
Return