if Frm_ExtractCDRP = nil then
Frm_ExtractCDRP := TFrm_ExtractCDRP.Create(application)
else showmessage('not closed');
Now when i close my form, i have this statement in the onclose event:
Action := CaFree;
Frm_ExtractCDRP := nil;
The problem is that i see the close message when i close the Frm_ExtractCDRP form. So i assume that it is now close but when i click back on the button to re generate the form again, i get the message "Not Closed"
So i have to assume that it is not really fully closed.
What am i doing wrong?
Thanks for any input..