nima66
Member
I have created several separate forms in several classes.
By selecting in the application menu, the variable corresponding to each class is initialized and the form is displayed.
I need the form to be completely deleted whenever the form is closed.
When the form is closed, it is not actually deleted and cleared from memory. (Because when the form is show again, the last state is displayed again)
How can I completely delete the form (to optimize memory) so that the class type variable is reinitialized upon redisplay?
By selecting in the application menu, the variable corresponding to each class is initialized and the form is displayed.
I need the form to be completely deleted whenever the form is closed.
When the form is closed, it is not actually deleted and cleared from memory. (Because when the form is show again, the last state is displayed again)
How can I completely delete the form (to optimize memory) so that the class type variable is reinitialized upon redisplay?