<div dir="ltr"><div class="gmail_default" style="color:rgb(0,0,0)"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 2, 2013 at 10:04 PM, Renato Barbosa Pim Pereira <span dir="ltr"><<a href="mailto:renato.barbosa.pim.pereira@gmail.com" target="_blank">renato.barbosa.pim.pereira@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Thanks for the advices, I need now one scrollbar to roll under screen, I created the scrollbar but cant roll, please help me on this.<br>
<br><a href="http://pastebin.com/L6XWY6cm" target="_blank">http://pastebin.com/L6XWY6cm</a></div></blockquote><div><br></div><div style="color:rgb(0,0,0)" class="gmail_default"><br></div><div style="color:rgb(0,0,0)" class="gmail_default">
You need to bind your scrollbar to a particular action.  It does not roll because you never told it what 'rolling' should do.  That said, you need to bind your scrollbar command to a widget that actually supports scrolling.  According to [1], your options are the Listbox, Text, Canvas, and Entry widgets.  What that means is that you will need to replace your Frame widget with a Canvas widget (or embed a Canvas in your Frame, although with your existing code that latter approach does not serve much purpose).  Then bind your scrollbar command to the xview method of your Canvas instance (or the yview method of your Canvas instance if you want to scroll vertically).</div>
<div style="color:rgb(0,0,0)" class="gmail_default"><br></div><div style="color:rgb(0,0,0)" class="gmail_default">HTH,</div><div style="color:rgb(0,0,0)" class="gmail_default">Jason</div><div style="color:rgb(0,0,0)" class="gmail_default">
<br></div><div style="color:rgb(0,0,0)" class="gmail_default">[1] <a href="http://effbot.org/zone/tkinter-scrollbar-patterns.htm">http://effbot.org/zone/tkinter-scrollbar-patterns.htm</a></div></div></div></div>