baddy
09-06-2000, 11:09 PM
I have a MDI parent panel with an OK button and an Exit button. On pressing the OK button, I want to load the MDI child. I have alread set the autoshowchild property to true and the child form's MDI child property to true.
But no child form is displayed. What should I do?
brmallesh
09-06-2000, 11:13 PM
Hai,
I think, perhaps you should set the child form as the start up in the project properties and then issue the show on button_click()....
I might be wrong....
MB
baddy
09-06-2000, 11:19 PM
I am afraid ur method is not working.... :(
Let me elaborate more on my condition. I have use a picture box to cover up the entire MDI, so that I can create panels and buttons on it. So is there anyway which I can display the MDI child form in front of the picturebox?
Grimfort
09-07-2000, 12:07 PM
The picture box is on the same level as the mdichild windows so cannot be put behind the picture box.
But your windows are still loading but are hidden below your picture box (not underneath)
Grimfort
BillSoo
09-07-2000, 12:40 PM
Grimfort is correct. Your mdi child is loading in the narrow space between the picturebox and the bottom of the MDI client area (ie. no space at all)
"I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder
baddy
09-07-2000, 08:57 PM
Is there anyway I can remedy this?
BillSoo
09-08-2000, 01:10 PM
Child windows appear in the client area. So either you have to open up the client area or you have to make the forms non-mdi children.
"I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder