"Increment" Syntax in Slider


Author
Message
Nakayama Yao
Nakayama Yao
Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)
Group: Forum Members
Posts: 39, Visits: 230
Thank you Sir. It's been very helpful.
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
You can only use integers as increment. The closest you can get to what you want with a slider is doing something along the lines of:

<slider response>
/ caption="How many times does the second interval last longer than the first one?"
/ labels=("0.0", "0.5", "1.0", "1.5", "2.0", "2.5", "3.0", "3.5", "4.0", "4.5", "5.0", "5.5", "6.0", "6.5", "7.0", "7.5", "8.0", "8.5", "9.0", "9.5", "10.0")
/responsefontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ txcolor = (0, 0, 0)
/ range = (0, 100)
/ increment = 1
/ showticks = true
/ showtooltips = false
/slidersize = (70%, 20%)
/position = (10%, 50%)
/defaultresponse = 0
</slider>

Nakayama Yao
Nakayama Yao
Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)
Group: Forum Members
Posts: 39, Visits: 230
To whom it may concern,
Hi, I just want to use slider (ranging from 1 to 10) to display decimals so that it can show, e.g., 1.1 to participants. But when I tried to change the value of increment, it didn't work. Do you have any suggestions?
Thank you for your consideration! 

<slider response>
/ caption="How many times does the second interval last longer than the first one?"
/ labels=("0", "10")
/responsefontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ txcolor = (0, 0, 0)
/ range = (0, 10)
/ increment = 0.1
/showticks = true
/slidersize = (70%, 20%)
/position = (10%, 50%)
/defaultresponse = 0
</slider>

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search