Split a form in two

  • Thread starter Thread starter Mathieu Chavoutier
  • Start date Start date
M

Mathieu Chavoutier

Hi.

I'd like to have two panels of the same size, even after resizing. Each
panels have to take the half of the screen (one on the left, and one on the
right for example).

So, Dockstyle doesn't works, because only one of the two panels can move.
AnchorStyle doesn't works also, because the size have to expand when the
form expand.

So, any idea ?
 
Bob Powell said:
in the resize event of your form you can specifically set the size of your
panels so they take up half the size of the main form.

Ok, thank you.

By the way, I have a problem : some of my components change of size and I
don't know why. But, I have found that the Layout property indicates those
changes. Can I use it to modify the size, or it isn't the interest of
Layout?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top