Usercontrol Panel Splitter

I

Istvan

Hello

....Window.Forms....

Can somebody help me with Panels and Splitters ?

I want to add three Panels to one Usercontrol , between them with two
movable Splitter.

First Row: 2 Columns ( 2 panels, with 1 splitter between them)
Second Row: 1 Columns ( 1 panel, with 1 splitter between first and
second row )

I am trying to manage it, it fails.
i am trying with ... Dock....Bottom and Dock.....Left attributes of the
splitter, but the splitter dont stay between the panels, and dock
bottom or left to the window border, not staying between the panels.

What can I do / have to do ?

best regards
istvan
 
B

Bruce Wood

Istvan said:
Hello

...Window.Forms....

Can somebody help me with Panels and Splitters ?

I want to add three Panels to one Usercontrol , between them with two
movable Splitter.

First Row: 2 Columns ( 2 panels, with 1 splitter between them)
Second Row: 1 Columns ( 1 panel, with 1 splitter between first and
second row )

I am trying to manage it, it fails.
i am trying with ... Dock....Bottom and Dock.....Left attributes of the
splitter, but the splitter dont stay between the panels, and dock
bottom or left to the window border, not staying between the panels.

What can I do / have to do ?

If you're using .NET 2.0, use a SplitContainer... it's much easier.

If, like me, you're using .NET 1.1, then the secret is the "Bring to
Front" "Send to Back" menu items on the right-click menu for the panels
/ splitters. Send the panels "to the back" of the Z-order, or select
the splitter and use "Bring to Front".

The idea is that you're intended to place the panels on the form first,
Dock the panels, then add the splitters last. However, you can simulate
that by docking the panels and then using "bring to front" to
manipulate the Z-order.
 

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

Top