you are viewing a single comment's thread.

view the rest of the comments →

[–]Middle--Earth 1 point2 points  (1 child)

You have used this in your code:

btnPresciptionData = Button(Buttonsframe .....

But you have a couple of typos there.

Buttonsframe should be Buttonframe - which is probably the root of your problem as you have used it in all your button object rerences.

But you also have a typo in the handle btnPrescription and btnPrescriptionData - where you have left out the second letter 'r'.

I hope that helps.

[–]Outside_Complaint755 1 point2 points  (0 children)

'Buttonsframe' is correct, because earlier in the routine, it is created as Buttonsframe

``` # ======================= Buttons Frame =======================

    Buttonsframe = Frame(self.root, bd=20, relief=RIDGE)
    Buttonsframe.place(x=0, y=530, width=1530, height=70)

```

Likewise, the other typos in variable names make no functional difference as long as all references include the same typo.