I would like to store some data about open MdiChildren to restore them when the application restarts.
But the MdiChildren property seems to empty on the ApplicationExit event.
Which event do I listen to to be able to get a list of open MdiChildren when user closes the main window?
try following code. It works for me. you can put additional loginc in If to check if any child window is visible ot not and if not then don’t ask any question.