Having troube with sliders

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
SiR_dAnK
Posts: 1
Joined: 25 Mar 2017, 17:56

Having troube with sliders

25 Mar 2017, 18:04

I want to make a slider range which goes from 6.0 to 6.1 6.2 6.3 6.4 but i can't seem to do this? can anyone please help
A_AhkUser
Posts: 1147
Joined: 06 Mar 2017, 16:18
Location: France
Contact:

Re: Having troube with sliders

25 Mar 2017, 19:06

Code: Select all

Gui, Add, Slider, vMySlider Range60-65 gLABEL, 60
Gui, Add, Text, x100 y100 w100 vtxtctrl, 60
Gui, Show, w400 h400

LABEL:
SetFormat, float, 0.1
GuiControl,, txtctrl, % MySlider/10
return
documentation says:
When the Gui Submit command is used, the control's associated output variable (if any) receives the current numeric position of the slider. The position is also stored in the output variable whenever the control's g-label is launched.
see:https://autohotkey.com/docs/commands/Gu ... htm#Slider
my scripts

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: FanaticGuru, filipemb, LRRUNB and 271 guests