[ctrl-F4] and modal form

Giganews Newsgroups
Subject:[ctrl-F4] and modal form
Posted by: Herman (softwa…@kwsystems.nl)
Date:Wed, 21 Mar 2007

Hello,

I have a MDI application in which the screens can be closed using
[ctrl-F4], this is normal behaviour.
I have a small modalform with the MDI client as its parent, also simple
stuff.
But when this modalform is active and I press [ctrl-F4], the MDI
Clientform closes. Now the application crashes because the modalform is
still there without it's parent.

Does anyone know how to solve this?

Regards
Herman

Replies