Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Save values of a form
#1
Is it possible to open a second form without loosing the values of the first form when return to that first form?
Reply
#2
Just open the second form and then release it and the first form instance will still be there. Just like a normal Delphi application.
Reply
#3
(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.
Reply
#4
Then something in your code or application is clearing them.
Reply
#5
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.
Reply
#6
(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!
Reply
#7
Thanks for letting us know that it has been resolved.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)