How do I save all text inputs one exit

Get help using Construct 2

Post » Fri Jul 07, 2017 12:53 am

Trying to save text on all inputs when user exits the program by using the LocalStorage in Construct Classic.
Everything works normally if I have a save button that the users presses, but I want it to save everything if the users exits the program by pressing the X in the corner..

Is there any way to catch when the users quits, have been using "On end of layout" to try to catch it but that is not working. I feel like there was a handler for program exit before..?
B
8
S
3
G
5
Posts: 70
Reputation: 2,834

Post » Fri Jul 07, 2017 12:56 am

Do you mean an X that you have made yourself? If you mean closing a browser then I don't think there's a way to catch that, probs set up saves every so often.
B
46
S
16
G
74
Posts: 2,088
Reputation: 44,185


Return to How do I....?

Who is online

Users browsing this forum: rayolf and 8 guests