I'm new to Python programming so please bare with me. I have a tkinter app in which I have a Toplevel Form (a MDI form in the .Net world) that contains a Menu widget. I also have several Child forms which are bound to menu options. At this point everything is defined in the single .py file. I'm not using any user defined classes so far. All my widgets are defined in a method called "create_vendor_form(self()". The below code is where I'm getting hung up at. The error message I'm getting is on the line with the red print. The compTxt widge is defined in the "create_vendor_form()" method. I'm not sure what I'm doing wrong. This seems like pretty straight-forward code.
Blake
# This snipped is from the "create_vendor_form()" method[attachment=3331]
frame.add_btn = tk.Button(frame, text="Add Record", width=15)
frame.add_btn.place(x=80, y=205)
frame.add_btn.bind("<Button-1>", add_vendor)Thanks,Blake
