superduper10000
01-24-2007, 08:36 PM
Hi -- this seems like it should be basic to me but I don't know how to do it :shrug:
Suppose I have someting like:
global proc foo()
{
print ("The value of the slider is " + ?????);
}
window -menuBar 0 -title -width 300 -height 600 -sizeable 1;
columnLayout
floatSliderGrp -label "SomeSlider" -minValue 1 -maxValue 100;
button -command "foo()"
setParent ..;
showWindow;
What's the best way to get the current value of the floatSliderGroup passed to foo() when the button is pressed?
Suppose I have someting like:
global proc foo()
{
print ("The value of the slider is " + ?????);
}
window -menuBar 0 -title -width 300 -height 600 -sizeable 1;
columnLayout
floatSliderGrp -label "SomeSlider" -minValue 1 -maxValue 100;
button -command "foo()"
setParent ..;
showWindow;
What's the best way to get the current value of the floatSliderGroup passed to foo() when the button is pressed?
