I have an image selector that pits an image on the screen. When i click it i resize the image to full screen. I wanted to click it again to make it the original size. For some reason i cant get the second click to work. I have tried using an if statement and a variable. it didnt work so i wrote to tinydb fullscreen y and then an if statement but again only works on the first click. I tried setting the image to clickable at the end of the if statment but no go. Does anyone have an idea on how to get this done. Seems simple but i just cant figure why the clickable stops?
Try this:
fsImage.aia (2.1 KB)
there are many many other ways to approach this.
If you have other components on the screen you will need to hide/show these.
Untick scale picture to fit in the designer if you want to retain the aspect ratio.
Thank you. I think i doubled down and overcomplicated it. i started without the tinydb and it didnt seem to work. I should have deleted and started again. thank you for the file it was very helpful app is up and working now.
thank you
1 Like
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.