JoeBo747
asked on
Form Size
Hi Experts
I have a MDI form1 that loads and fills the screen; I have a second form2 that is loaded as a child form2 has no title bar. I want form2 to load and fill the whole of the available space below form1s menu strip. I dont want the user to be able to re-size or close the form. If I set form2 to WindowState.Maximized an icon appears above form1, can I get rid? Is all this possible
Regards,
Joe
I have a MDI form1 that loads and fills the screen; I have a second form2 that is loaded as a child form2 has no title bar. I want form2 to load and fill the whole of the available space below form1s menu strip. I dont want the user to be able to re-size or close the form. If I set form2 to WindowState.Maximized an icon appears above form1, can I get rid? Is all this possible
Regards,
Joe
you can set controlbox = false in Form2 and set its caption=False
sorry caption =""
ASKER
Hi hiteshgoldeneye
Thanks for your reply, I have tried your suggestion, this makes the control inactive, but the control is still there.
I have perhaps not been clear with my explanation, the reason I require this format is that making form2 a MDI form would be the ideal solution it has all the attributes I require, apart from the back colour changes to black when the MDI option is selected, if it where possible to set the forms back colour to white at runtime I would have no need of form1.
Regards
Joe
Thanks for your reply, I have tried your suggestion, this makes the control inactive, but the control is still there.
I have perhaps not been clear with my explanation, the reason I require this format is that making form2 a MDI form would be the ideal solution it has all the attributes I require, apart from the back colour changes to black when the MDI option is selected, if it where possible to set the forms back colour to white at runtime I would have no need of form1.
Regards
Joe
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi hiteshgoldeneye: & jpaulino:
Thanks for your replies all of which have been useful in getting me nearly where I want to be, the link hiteshgoldeneye: proved very useful so I have to award this the greatest number of points, Thanks.
As you have answered the question I am awarding the pints now. The nearly relates to an issue I have not been able to find a solution for, I will post another question named "Forms multiple instances". I hope you can look this up and help.
Regards
Joe
Thanks for your replies all of which have been useful in getting me nearly where I want to be, the link hiteshgoldeneye: proved very useful so I have to award this the greatest number of points, Thanks.
As you have answered the question I am awarding the pints now. The nearly relates to an issue I have not been able to find a solution for, I will post another question named "Forms multiple instances". I hope you can look this up and help.
Regards
Joe