Guest Posted September 26, 2010 Posted September 26, 2010 Message from: "Andy" Hi Farshad, As in the "Dynamic" demo , I can create a window. But if I close one children the complet session is closed. How can I close only a children ? (I test with hide and the children disappear but how can I release memory ?) Same with a modal window.(ShowModal) Close of the modal window --> session stop ps.: Thanks in concern of SpinEdit, you was right. Regards Andy . Quote
Guest Posted September 27, 2010 Author Posted September 27, 2010 Message from: "Farshad Mohajeri" Hi Andy, > Hi Farshad, > > As in the "Dynamic" demo , I can create a window. > But if I close one children the complet session is closed. > How can I close only a children ? > (I test with hide and the children disappear but how can I release memory > ?) > That's because in that specific demo all children has type of TMainForm. TMainForm is registered as Application main form class and when it is destroyed application is considered as terminated. It won't happen if you create Windows of other types. > Same with a modal window.(ShowModal) > Close of the modal window --> session stop > Same as above. Regards, . Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.