MDIForms & control boxes and icons

dmc1980

Active member
Joined
Feb 7, 2005
Messages
33
Programming Experience
5-10
Hi All
This is a problem that has been annoying me all day. I have a main form which is a MDIContainer. Some of the forms that I load are MDIChildren from the main from. Everytime I load a MDIChild the the control box and icon get shown above the toolbar of the main form even though the control box etc are set to false. When I close the form the control box and icon stay there, and then if I load the form again a new set get added to the ones that are already there.
To make it a bit clearer what im talking about ive attached a pic.
Cheers everyone
Darren
 

Attachments

  • form.bmp
    13 KB · Views: 108
This does seem like odd behavior.
Show the code of how you open the MdiChildren. Is there some code in the closing event of the MsiChildren?
 
Hi

The mdichild form is opened using the following code
Dim​
frmAssets As New frmAssets

frmAssets.MdiParent =
Me

frmAssets.Show()

And when closing the form im using

Me.close()
Its a strange one.

Thanks.
 
Back
Top