Bug or Problem?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi!
i'm using csharp and vb.net and i have problem with MDI childs,i have MDI parent and many childs, i declared the dock property to fill and i think but not sure that there is bug in .net.sometimes the child is cut off and it appears in part of the parent.
for example i have navigation to some child,sometimes i click on it and the child appers normally and sometimes unexpected.
please help me.
thank's alot
guy
(e-mail address removed)
 
Hi guy,

First of all, through my MDI experiences i don't remember any
"Dock" settings to be necessary.
Only what you'll have to set is:
"IsMdiContainer" to "true"

An empty space in your MDI parent is utilize as a panel for
a child forms. So, any additional controls should dock to
a parent's side.

Regards

Marcin
 
Hello!
i know all that,i defined mdi container=true.the dock=fill property is for case that the child isn't in the same size like his place in the parent form and then he resize him to that size/this isn't my problem.
my problem is that sometimes the child isn't in the same size like expected.
thank's
guy
 
Hi guy,

I still don't follow your problem quite well. First of all, it's not clear why exactly you require to use Dock Property. May be you are using panels - in that case, the child's size will be restricted to that of the panel, and not of the parent window.
 
Hi!
i use the dock because the container contain child form and another control so when i use the dock property the child resize himself to the size of the rest of the container(minus the other control).
the problem again is that the size of the child is sometimes less than the size it has to be and sometimes it o.k.
thank's
guy
 
Back
Top