L
Leon Jollans
I've been having loads of problems with this. Coming from Java I never had
this problem with the LayoutManagers, but it keeps happening in the VS.NET
designer, and I don't know where the issue's coming from.
Say I have a form and place two controls on it - in this instance a
CrystalReportViewer and a Panel. I set the Panel to Dock Right and the
CrystalReportViewer to Dock Fill. Now according to both my Java AWT and
Swing experience the CrystalViewer should Fill the *remaining* space, but it
doesn't, it acts as if the Panel wasn't there at all and fills the entire
form, clipped by the Right docked Panel rather than resizing to meet its
edge.
This is stopping me using splitters correctly too, since DockStyle.Fill
simply refuses to adjust to the remaining space. Other people can do it, and
I've seen tutorials that demonstrate the correct behaviour using the same
method as I am, so what am I doing wrong??
TIA
Leon
this problem with the LayoutManagers, but it keeps happening in the VS.NET
designer, and I don't know where the issue's coming from.
Say I have a form and place two controls on it - in this instance a
CrystalReportViewer and a Panel. I set the Panel to Dock Right and the
CrystalReportViewer to Dock Fill. Now according to both my Java AWT and
Swing experience the CrystalViewer should Fill the *remaining* space, but it
doesn't, it acts as if the Panel wasn't there at all and fills the entire
form, clipped by the Right docked Panel rather than resizing to meet its
edge.
This is stopping me using splitters correctly too, since DockStyle.Fill
simply refuses to adjust to the remaining space. Other people can do it, and
I've seen tutorials that demonstrate the correct behaviour using the same
method as I am, so what am I doing wrong??
TIA
Leon