Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Form create/destroy best practise ?
#1
Hi All,

Usually I have a main form, allowing the user to select  a function, which then will create and show a form. If necessary, that form too, will create a new form, and when user is finished, it is released and the former form is shown again. And when user finishes, clicks a kind of "close" button, that form is finally released and the menu form is back on.

Now I want to call the form create without going back to the former with Release, meaning from the menu a new form (1st.) is created and shown. 1st. form creates and show a new form (2nd.), which again creates and show a form (3rd.). And when the user finished using 3rd. form, I want the program to go straight back to the menu program, bypassing form 2nd and 1st.

How do I do that, making sure all memory is released ?

Regards
Soren
Reply


Messages In This Thread
Form create/destroy best practise ? - by SorenJensen - 12-12-2019, 11:40 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)