Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MDI child is always maximized in parent..

Status
Not open for further replies.

sane79

MIS
Nov 18, 2003
60
0
0
SG
Can anyone help me?
I can't figure out what is wrong here.

It happens such that the 1st form that loads when I run my program is position nicely in the center of the parent.
However, when I tried clicking on other forms... that child form by default becomes maximised (Every form becomes maximised other than the very 1st one).

I have already set the windowstate of the form to Normal...
and there isn't any coding in that form nor my parent form to do the positioning..
so can any suggest any solutions for me pls?
Thanks.
 
Hi friend,
Every form has a "WindowState" property wich describes form size when opening.it can gives 3 value:0-Normal or 1-Minimized or 2-Maximized.

I think it is better that you let 0 to this property for child windows : form1.windowstate=0

Behnam2204@yahoo.com
BehnamPro
 
i have already done that.. any other suggestions?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top