making mested splitcontainer panels auto size.

  • Thread starter Thread starter Peted
  • Start date Start date
P

Peted

Hi

i have a real dilema on how to achieve this result
Its easier seen than described so please bear with me.

I have a form
I drop a splitcontainer (splitcontainer1) control into the form
i then drop another splitcontainer(splitcontainer2) control into panel
1 of the first splitcontainer control

my problem is this
i want to colapse and uncolapse splitcontainer2.panel2, while
splitcontainer2.panel stays fixed in size and does not resize in any
way.
when spiltcontainer2.panel2 is uncolapsed it should "push down" and
expand splitcontainer1.panel1 height, with the visible area of
splitcontainer 2.panel being unchanged.

Currently when i collapse and uncollapse splitcontainer2.panel2, it
resizeses spiltcontainer2.panel, and i dont want this. It does not
push out to expand the size of splitcontainer1.panel like i waant.

I hope this is clear, if anyone can offer advice on how to achieve
this, it would be appreciated

thanks in advance.

Peted
 
Back
Top