Child Form Layout in MDI Parent Form

syntia.wijaya

Member
Joined
Apr 22, 2007
Messages
24
Location
Indonesia
Programming Experience
Beginner
Hi, I am using MDI Parent template from VS.

I split the form into 2 using vertical splitter, the left side is used for menu, the right side is used for contents, for putting the child forms.

When I made a new form, a new form is made. When I dragged the child form around, it can move around even when it passed the right side boundaries. I want it to stop being dragable when its border meets the right side border *pardon my english*

I attach the wrong pictures here:
salah1.JPG.html

salah2.JPG.html


Thanks in advance..
 
You shoud check whether your form in correct coordinate area, and put it in form_move event. Or alternatively, set it's window state to maximaze and it's bordersytle to fixedsingle. For doing so, user won't be able to move or resize the form

Also, your attached picture won't display because you use rapidshare service. Pictures will display only with direct link. Try use free image hosting like imageshack or photobucket.
 
Back
Top