horisontal splitter

M

magmo

Hi


This is probably a pretty easy thing to solve, but I cant find where
this is done.
I want to create a white area at the top of my windows form and then a
horisontal "splitter" that seperate the white area from the grey area
underneath it.

I know I can add a white panel, but how do I get that horisontal
"splitter"?



Regards


Magnus
 
O

One Handed Man \( OHM - Terry Burns \)

Not entirely sure what you are trying to do, but there is a splitter on the
Windows Forms Toolbox Tab, thats used to resize docked controls. Does this
help ?

Regards - OHM ( Terry Burns )

magmo said:
Hi


This is probably a pretty easy thing to solve, but I cant find where
this is done.
I want to create a white area at the top of my windows form and then a
horisontal "splitter" that seperate the white area from the grey area
underneath it.

I know I can add a white panel, but how do I get that horisontal
"splitter"?



Regards


Magnus
 
C

Cor Ligthert

Hi Magmo,

Only a little bit in addition to OHM, when you drag it on your form it is
sticked to the left side.
You can set it "horizontal" starting on the top with setting the Dock
property.

I had to search the first time that I used it, where it stayed and how to
set this.

Cor
 
H

Herfried K. Wagner [MVP]

* (e-mail address removed)-spam.invalid (magmo) scripsit:
I want to create a white area at the top of my windows form and then a
horisontal "splitter" that seperate the white area from the grey area
underneath it.

Sample (taken from MSDN, mod.):

\\\
Dim TreeView1 As TreeView = New TreeView()
Dim ListView1 As ListView = New ListView()
Dim Splitter1 As Splitter = New Splitter()

TreeView1.Dock = DockStyle.Top
Splitter1.Dock = DockStyle.Top
listView1.Dock = DockStyle.Fill

TreeView1.Nodes.Add("TreeView Node")
ListView1.Items.Add("ListView Item")

Me.Controls.AddRange(New Control() {ListView1, Splitter1, TreeView1})
///
 
M

magmo

Hi



The easiest way to describe what I'm looking for is ....

When you deploy your created windows application and create a msi
package, the first dialog form you see whn you start the msi package
has a white area at the top and then some form of line that seperates
the white area from the grey area underneath it. thats the kind of
layout I would like to build.

Maybe that really is a picture, I don't know. Anyone that knows how
this is built?


Regards


Magnus
 
M

magmo

Hi all



I dont think that the splitter is what I nead, isn't there anyone else
that knows of a way to achive this?


Regards


Magnus
 
O

One Handed Man \( OHM - Terry Burns \)

Maybe you just need a panel anchored at the top of a form with a white
background

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .


magmo said:
Hi all



I dont think that the splitter is what I nead, isn't there anyone else
that knows of a way to achive this?


Regards


Magnus
 

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