|
-
Sep 28th, 2004, 07:55 AM
#1
Thread Starter
New Member
problem in working with childforms in vb.net
hello to all
i got some problem with child forms in my vb.net application.
in my application i need to maximize some child forms when they are loaded (set the windowstate to maximized at design time).
if i do so then, the next form opened which is not be maximized and the windowstate is also set to "normal" at design time also getting maximized (awwwwww it sucks). why this happens so ?. (i guess its setting the prev. forms window state .... )
i have set the maximizebox to "flase" for all the forms which i don't want to maximize and set the formboaderstyle to "fixedsingle"
to solve my problem what should i do ?
in short >> i want to retain the childforms windowstate property set at design time (not to be changed automatically at run time)
please some body help me out ...
adv. thanks
-
Sep 28th, 2004, 08:47 PM
#2
Hyperactive Member
i try what you'd said but it looks okey. Anyway could you state some details? do you have an MDI parent? or what? maybe there's something wrong with that, i guess.
sorry for my curiousity.
-
Sep 29th, 2004, 03:51 AM
#3
Fanatic Member
in the form load event set the window state property of the child form to normal.
may be that helps
-
Sep 29th, 2004, 10:24 AM
#4
Thread Starter
New Member
thank you all
the child forms are behaving so weird ...
even though i set the form state in form load to normal if any child form is maximized then this form is also maximizing .. omg.
and if one child form is restored to normal size then all the children are restored ...awwwwwwww
but as its the basic functionality of the mdi children ... i can't do any thing with it .... do you mean the same ?
so i have changed my other forms to normal only (which were needed to load as maximized earlier) hope the problem will be solved ...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|