Link to home
Start Free TrialLog in
Avatar of omsec
omsec

asked on

Forms at Program End

Hello,

I need to display a form that notice to user if a program configuration data could not be saved to disk (or familiar errors). The form has to appear when the Program is terminating or immediatly before that in other words.
I have tried to simply use Form.ShowModal in the OnClose-Event of the main form, but it didnt work, because the application was shutting down.

any ideas ?
ASKER CERTIFIED SOLUTION
Avatar of SupWang
SupWang

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Madshi
Madshi

Or you could put it into the dpr file right after the Application.Run.

Regards, Madshi.
HI, omsec
If my answer is right, Please give the points to me. I haven't get points for a long time. :-)

Regards,SupWang