Closed Daevid8 closed 7 months ago
You need to define buttons for each page or menu. The sketch must check which buttons to respond to depending on the page or menu currently on the screen. There are no functions in the library to do this and it must be managed by the sketch.
Hello Bodmer. I have a problem with the TFT_eSPI library, more specifically with the menu display. Based on the example from the library, I wanted to create a menu. Everything went very well thanks to your library, for which I thank you very much, but I have a problem with reading the touch buttons on individual pages. More precisely, the point is that after switching to the next page in the menu, all buttons from previous pages can still be pressed as if in the background. They are not visible, but they can be pressed, which unfortunately causes a big problem because the menu buttons are in the same places. I hope you can help me, thank you in advance. My touch display is 2.8" TFT ST7789. Sorry for any language errors. I have to use a translator because English is not my language. Below is a fragment of the code.