Python Forum
[Tkinter] error on the 3rd function
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] error on the 3rd function
#4
The problem doesn't have much to do with scope. The problem is the program creates a bunch of tk Variables and then doesn't bind them to controls. I don't do a lot of programming in tk anymore, but Variables are obviously an attempt to separate your logic (what the program does) from your view (how your program looks). I would stick with using Variables because they make it easier to write more complex programs. May as well learn how to use them in a simple program like this.
Reply


Messages In This Thread
error on the 3rd function - by nadim313 - Apr-06-2020, 10:19 AM
RE: error on the 3rd function - by deanhystad - Apr-09-2020, 05:41 PM
RE: error on the 3rd function - by joe_momma - Apr-12-2020, 06:35 PM
RE: error on the 3rd function - by deanhystad - Apr-12-2020, 06:51 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020