|
<< Click to Display Table of Contents >> Navigation: Forum > Save values of a form |
06-24-2021, 04:33 PM:
Is it possible to open a second form without loosing the values of the first form when return to that first form?
06-24-2021, 08:27 PM:
Just open the second form and then release it and the first form instance will still be there. Just like a normal Delphi application.
06-25-2021, 09:18 AM:
(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.
06-25-2021, 04:43 PM:
Then something in your code or application is clearing them.
06-25-2021, 10:17 PM:
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.
06-28-2021, 10:10 AM:
(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!
06-28-2021, 08:23 PM:
Thanks for letting us know that it has been resolved.