neil porven
Posts: 2
Joined: Wed Nov 14, 2018 7:48 pm
Location: Miami, Florida

Touch screen button click issue

Wed Nov 14, 2018 8:15 pm

Hi everyone,

I have designed a GUI with a couple of buttons. When the user selects a button, I move to the next
page. This works well, if I use the mouse and click on the button. I am trying to do the exact same
thing, but with the touch screen.
The issue that I am having is that when I place my finger on the button, it places focus, but I have to
click on it again for the action to occur. I would like to touch the button once and the action to occur

Here is my button code:

button1 = Button(self, image=self.token4_image, font="Arial 16", border='0',
command=lambda: self.controller.show_frame(SecondPage),
button1 .place(x=30, y=220, width="110", height="84")

If anyone has done this please let me know.

Return to “Beginners”