[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] setting slider position



is there a way to change the position of a slider?
something like this? :

(
var w, a;
w = SCWindow("presetTest", Rect(300, 300, 600, 600));
w.view.decorator = a = FlowLayout(w.view.bounds);
~slider = EZSlider(w, 400@40, "slider", ControlSpec(1, 10, \lin, 1));
a.nextLine;

w.front;
)

~slider.setPosition(1); //set slider position and numberBox to 1

thanks, 
jeremy