Text resets to nil

Hello Everyone,

I have created an application with the following interface. The working is fine. However, I want the data entered to remain even after the application is minimized or the submit button is clicked.

What is happening is as soon as I minimize the application, all the entered information vanishes. I want it to stay unless the user changes it or deletes it. Please help.


1 Like

While you minimizing the app, it may be restarting all over again. If you want to set the previous text unchanged untill user change it, use any database (i.e : TinyDB) to secure data.

1 Like

Thanks @asimjib93. It worked.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.