ScriptSpot

Forum topic · General Scripting

Basic Spinner problem

By Mrjacks2o · 2013-04-25

Description

Hi what i am trying to do is have my spinner change the number like this 1.01 or 1.02 etc instead of 1.1 or 1.2

any help will be appreciated.

thanks

Comments (1)

Scale value

Sen · 2013-04-25

Hello ,

try this :


rollout test ""
(	
spinner SPtest "" range:[0,100,0]  type:#float  scale:0.01	
)
createdialog test

change scale value to 0.001 .... 0.0000001

Note : The scale of the spinner specifies the smallest value increment. Defaults to 0.1 for floats, 1 for integers( maxscripthelp) .