I have used ScrolledText in my code, the scroll bar that appears is attached to the frame and although it scrolls the text box contents, I want that it was attached to the text widget itself.
What can i do?
On that page you can see an image of a little window taht has a ScrolledText widget on it with borders. You can see green borders. I want something like that. AS you see, that ScrolledText widget has not fixed whole the window, it lets us to see tha main window color wich is green.
Hope you understand what i mean.
I tried to use the code which was on that page but it didn't wok for me and left some errors.
I have a Tkinter window with an entry box and add button and refresh button and scrolltext widget.
The first time i run the program, the text appears on the scrolltext widget but when i add a word, and push the refresh button, it wont refresh the scrolltext widget with new word. why?
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...