Ali Moradi wrote:

> On Fri, Jan 13, 2017 at 10:25 AM, Ali Moradi <>
> wrote:
>> hi. I've written this code and i can't fix the scrollbar error. i am a
>> beginner in Python plz help. this is python3 code.

According to

yscrollcommand has to be configured on the list box, i. e. instead of


you need


Other problems:

* Chaining grid doesn't work; self.text is set to None here:

        self.text = tk.Text(self.frame_content, width=60, 
height=30).grid(row=1, column=1)

* You access self.db before you set it.
* column=1 is used for both Scrollbar and Text widget.

Tutor maillist  -
To unsubscribe or change subscription options:

Reply via email to