Atozed Forums
Save values of a form - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: Save values of a form (/thread-2440.html)



Save values of a form - Comograma - 06-24-2021

Is it possible to open a second form without loosing the values of the first form when return to that first form?


RE: Save values of a form - kudzu - 06-24-2021

Just open the second form and then release it and the first form instance will still be there. Just like a normal Delphi application.


RE: Save values of a form - Comograma - 06-25-2021

(06-24-2021, 08:27 PM)kudzu Wrote: Just open the second form and then release it and the first form instance will still be there. Just like a normal Delphi application.

Well, I guess you didn't understand me.
What I'm saiyng is that if I have some input fields and enter some values on it and than open the second form, when I close (reslease it) and back to the first form, the values aren't there.


RE: Save values of a form - kudzu - 06-25-2021

Then something in your code or application is clearing them.


RE: Save values of a form - kudzu - 06-25-2021

In fact there are many demos that show this. You can even take Guess and add a second form, show it, release it and see.


RE: Save values of a form - Comograma - 06-28-2021

(06-25-2021, 04:43 PM)kudzu Wrote: Then something in your code or application is clearing them.

Ok, I figure it out. Thanks. My bad! Thanks for the tip!


RE: Save values of a form - kudzu - 06-28-2021

Thanks for letting us know that it has been resolved.