473,386 Members | 1,773 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

horisontal splitter

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
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 20 '05 #1
6 1296
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" <ma****@rad-o-resultat-dot-se.no-spam.invalid> wrote in message
news:40**********@Usenet.com...
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
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Nov 20 '05 #2
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
Nov 20 '05 #3
* ma****@rad-o-resultat-dot-se.no-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})
///

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #4
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
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 20 '05 #5
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
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 20 '05 #6
Maybe you just need a panel anchored at the top of a form with a white
background

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
"magmo" <ma****@rad-o-resultat-dot-se.no-spam.invalid> wrote in message
news:40**********@Usenet.com...
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
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Nov 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Gleeman | last post by:
Dear Sir/Madam I'm an old dog of VB 6.0. I've mastered the new tricks of .Net Form-based programming rather OK. I now need to focus on web development. My Web pages need not be as glamerous as...
4
by: BBM | last post by:
I'm trying to set up a form with two panels divided by a Splitter control. I can make the Splitter work in the situations described in the documentation (Listbox or TreeView on left w/Dock set to...
5
by: Sam | last post by:
Hi, I have a panel docked to the bottom of my form. This panel can be expanded vertically by clicking on a button. When the user click on the button again, the panel is then collapsed. The panel...
3
by: Gleeman | last post by:
Dear Sir/Madam I'm an old dog of VB 6.0. I've mastered the new tricks of .Net Form-based programming rather OK. I now need to focus on web development. My Web pages need not be as glamerous as...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.