<br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><div>I was able to display a slider (scale), but I have no idea on how to get its current value. What type is it ? Which method needs to be used to get it ?
</div></div></blockquote><div><br><br>So here is the Tcl/Tk, conveniently tested from a win32 command console:<br></div><br><div>> wish85<br>(Tcl console opens along with Tk window. In the Tcl console...)<br>scale .x1 -from 10 -to 100
<br>pack .x1<br>.x1 get<br><br><a href="http://aspn.activestate.com/ASPN/docs/ActiveTcl/8.4/tcl/TkCmd/scale.htm">http://aspn.activestate.com/ASPN/docs/ActiveTcl/8.4/tcl/TkCmd/scale.htm</a><br> <br>You could also say: <br>
<br> scale .x1 -variable x1-value<br><br>And then make x1-value the text variable of a label and get that working to have some fun. Once (and perhaps not before) all that is working, replicate in LTk.<br><br>hth, kenny
<br><br></div></div>