MDIForm does not call MdiChildActivate event

Mar 24 2006 8:00 AM

Goodday,

I've got a strange problem! I've got a MDIForm which has form docked to it. The only thing this form does is to be the default background of my MDIForm (I realy don't know how to set the background of the MDIParent) I Don't want it to be clickable so I set the .Enabled propert to false.

Now everytime I make a new form and show it in the MDIParent and I'll close that same form the MdiChildActivate event isn't raised. If I set the .Enabled property of the (background) form to true then it will raise the MdiChildActivate event !!!

You can help me also by giving me a example how to set the background of an MDIParent. This background has to be visible around a form. The background has the color of a default form.

 thnx