When does the form goes destructed

  • Thread starter Thread starter Boni
  • Start date Start date
B

Boni

Hi All,
I have a form, where user can fill some fields and then press "OK". On the
OK-button I have

this->close();
if (this->field1.text==a) ...
It seems to work. But as far as I understand MSDN the form goes with "close"
not only unvisible but also can be destructed. I am right? What is the
proper way to handle such UI?
Thanks,
Boni
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top