473,804 Members | 3,607 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

split view help in VS 2005

I followed some simple steps in a magazine to create a Form with a split
view, but it doesn't look right. First I added a ListView control and
docked it to the left, then I added the Splitter control, then I added a
TreeView and docked it with fill.

When I run the window, it shows a big grey area in the center of the
form and I can resize the right edge of it. How can I make it so that
there is only a single line that can be used to resize the other two
controls?
Nov 17 '05 #1
2 1549
John,

In .NET 2.0, there is a much easier way to handle split controls. There
is a SplitContainer control in the toolbox which has two sub-panels that you
can place your controls in (and fill the area with them, if you wish). It
will handle all of the split management for you, and is much easier to set
up.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"John Salerno" <jo******@NOSPA Mgmail.com> wrote in message
news:OY******** ************@rc n.net...
I followed some simple steps in a magazine to create a Form with a split
view, but it doesn't look right. First I added a ListView control and
docked it to the left, then I added the Splitter control, then I added a
TreeView and docked it with fill.

When I run the window, it shows a big grey area in the center of the form
and I can resize the right edge of it. How can I make it so that there is
only a single line that can be used to resize the other two controls?

Nov 17 '05 #2
Nicholas Paldino [.NET/C# MVP] wrote:
John,

In .NET 2.0, there is a much easier way to handle split controls. There
is a SplitContainer control in the toolbox which has two sub-panels that you
can place your controls in (and fill the area with them, if you wish). It
will handle all of the split management for you, and is much easier to set
up.

Hope this helps.


This is what I'm using, but it doesn't look right. Perhaps the
instructions I followed were incorrect, but what results is a panel on
the left, one on the right, and big area in the middle that is part of
the split container but doesn't do anything. There isn't just a single
bar to move left and right.
Nov 17 '05 #3

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

Similar topics

4
18296
by: qwweeeit | last post by:
The standard split() can use only one delimiter. To split a text file into words you need multiple delimiters like blank, punctuation, math signs (+-*/), parenteses and so on. I didn't succeeded in using re.split()...
9
4352
by: Will McGugan | last post by:
Hi, I'm curious about the behaviour of the str.split() when applied to empty strings. "".split() returns an empty list, however.. "".split("*") returns a list containing one empty string. I would have expected the second example to have also returned an empty
3
2064
by: brendan_gallagher_2001 | last post by:
Hi, I have a view(A) and I am trying to do a join on another table (B) to include only rows where date values in view A is greater than in table B. I also want the view to pick up rows in viewA based on date values. Here is what I have so far: SELECT * FROM viewA vw left JOIN tableB tb ON
1
3403
by: Don Hames | last post by:
I have a windows application that has a split container in the client area. In the left panel, I added controls via the designer in VS 2005. In the right panel, I want to dynamically create and display other forms that I created in the project. Is this possible? Can the panel2 of a split container be the container for a dynamically created form? How else can I create a series of other windows (forms) and place them in the right panel of the...
14
34982
by: Ron | last post by:
Hello, I am trying to parse a string on the newline char. I guess vbCrLf is a string constant. How can I parse my string - data - on the newline char? .... data += ASCII.GetString(buffer, 0, bytesRead) .... Dim parts() As String = data.Split(vbCrLf)
7
2263
by: lgbjr | last post by:
Hi All, I'm trying to split a string on every character. The string happens to be a representation of a hex number. So, my regex expression is (). Seems simple, but for some reason, I'm not getting the results I expect. Dim SA as string() Dim S as string S="FBE"
2
3423
by: Nalaka | last post by:
Hi, How come, there is no "split cell" functionality in vs2005? Makes life a little difficult without this. Nalaka
3
1103
by: rcamarda | last post by:
Hello, I am using SQL 2005 and Cognos' Data Manager. It is an ETL tool for data warehousing. I have a problem with time it takes to load new changes, and I am seeking advice on a better way to manage the data. I have a table that tracks student attendance and it contains about 13 million records. On a daily basis, there are 5,000 - 20,000 inserts and 10,000 - 50,000 updates. The daily data comes for two different text files from my...
13
8936
by: geosmy | last post by:
Hi everyone, First post here! I have been trying to upgrade to Acc2007 looking forward to using Split Forms. To my horror I have just discovered that Split Forms do not hold variables at module level!!! Although code is working perfectly well when in Single Form view, when switching to Split Form view... problems. This must definitely be a bug unless there are limitations to Split Forms (doubt it). Although there might be some...
0
9579
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10326
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10317
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9143
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7615
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4295
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3815
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2990
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.