Re: Usercontrol Panel Splitter




Istvan wrote:
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.

.



Relevant Pages

  • Re: Nachträgliches Einfügen von Statusbar in Form mit Panels
    ... Panellinks Splitter Panelmiddle Splitter Panelright ... sie würde am unteren Formrand erscheinen UNTER den Panels ... Private Sub Button1_Click(ByVal sender As System.Object, ...
    (microsoft.public.de.german.entwickler.dotnet.vb)
  • Drag a splitter by coding
    ... I will put three controls on form1,two panels and a splitter. ... panel's dock property is set to top, the splitter's dock is also top and the ... shrink the second panel by draging the splitter in code but failed. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Two panels on one form with a Splitter. Works?
    ... panels separated by a Splitter using SendToBack / BringToFront. ... You control the z-order by using the SendToBack / BringToFront ... > Dock set to Left, a panel on the right with Dock set to Fill, and a Splitter ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Two panels on one form with a Splitter. Works?
    ... Dropped Panel2 in area to right of Panel1 and set Dock to Fill. ... the Splitter now controls the size of the two panels. ... I couldn't get the Splitter to work in Design Mode though. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Drag a splitter by coding
    ... I will put three controls on form1,two panels and a splitter. ... first panel's dock property is set to top, ...
    (microsoft.public.dotnet.languages.vb)