You should give us a little bit more information (source code, form properties).
It seems that you are building a
MDI application and
TForm.FormStyle is set to
fsMDIChild
.
The behaviour (minimize on close) is as designed and you should use the
TForm.OnClose Event.
But this is just a guess without any code or more detailed information from you
Thanks for your response , the FormStyle property is set to : fsNormal ,
and i have used the following events
FormCreate,
FormShow,
SormActive and
FormClose.
i want to open multiple window by minimizing one after another ,therefore i have used Show instead of ShowModal, but the problem is, when i click on one button to open one windows it open two windows together ,i need your suggestion, what should i change? after Form.Show, do i need to make it free or release ? actually i dont have clear idea, it would be nice to have your suggestion, thanks in advance