Guest Posted September 26, 2010 Share 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 . Link to comment Share on other sites More sharing options...
Guest Posted September 27, 2010 Author Share 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, . Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now