12-12-2019, 11:40 AM
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
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