Do you like the SplitterContainer?

  • Thread starter Thread starter active
  • Start date Start date
A

active

I had a form with 6 panels separated by 5 splitters.

Thought I'd try the SlpitterContainer so I converted to 5
splittercontainers.

The first container replace the first panel. It's second panel contained
container 2; and so on.

So instead of 6 panels and 5 splitters I had 10 panels and 5 splitters.

What is the impact of that?


Supposed the original were not panels but, say, pictureboxes.

Then instead of 6 pictureboxes and 5 splitters I'd have 10 panels, 5
splitters and 6 pictureboxes.

Does that impact resources or speed.


Also, I couldn't name the container panels, which is not nice.

And to find the location of a splitter I had to add the location of the
previous ones.



Since MS provides the splitter "only for compatibility with previous
versions" do you think in the future it will be removed from the tool box,
or worst.

Thanks for your comments
 
I like them...

From what you are describing you want, 6 panels, you should be putting some
of the split containers inside some of the panels from other containers. For
example, create a split container arranged vertically, then put another split
container in the top and bottom. With three split containers, you have four
panels with three splitters.

I can't speak to future support or speed, but there are times that they are
pretty nice to use.
 
ModelBuilder said:
I like them...

From what you are describing you want, 6 panels, you should be putting
some
of the split containers inside some of the panels from other containers.
For
example, create a split container arranged vertically, then put another
split
container in the top and bottom. With three split containers, you have
four
panels with three splitters.

That is basically what I did except I always placed the next container in
panel2 so I had a logical progression.


thanks
 
my first question is why do you need so many? Splitters arn't really
designed to be used more then 2 times on a form... they can be.. but
visually they arnt designed for it
 
This is just my preference. I like the layout of Visual studio. I hate
dockable windows. SplitterContainers let me lay out a similar look and feel
without having to search for the things that I accidentally or purposefullly
undocked.
 
The requirements required them.

Thanks

Smokey Grindle said:
my first question is why do you need so many? Splitters arn't really
designed to be used more then 2 times on a form... they can be.. but
visually they arnt designed for it
 
Back
Top