473,405 Members | 2,261 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,405 software developers and data experts.

multiple splitter controls

In vs 2003 we were able to place a container (panel) on the bottom of a
form, attach a splitter to the bottom, and place another container
panel up top, set to fill. Then within the top panel, you could add
two more panels, one docked to the left, attach a splitter to the left,
then set the other panel to fill. This gives you one main top/bottom
window with user resize capability, plus the ability to resize within
the upper portion of the window.

In vs 2005, this no longer works. Or at least it doesn't work the way
it used to. I haven't tried using the split containers yet, but I
don't understand why this functionality would be removed.

Is there another way ?

TIA, Sharon

Jul 26 '06 #1
5 6251
dotnetchic wrote:
In vs 2003 we were able to place a container (panel) on the bottom of a
form, attach a splitter to the bottom, and place another container
panel up top, set to fill. Then within the top panel, you could add
two more panels, one docked to the left, attach a splitter to the left,
then set the other panel to fill. This gives you one main top/bottom
window with user resize capability, plus the ability to resize within
the upper portion of the window.

In vs 2005, this no longer works. Or at least it doesn't work the way
it used to. I haven't tried using the split containers yet, but I
don't understand why this functionality would be removed.

Is there another way ?
I'm still on 2003, so I can't comment on whether the behaviour has
changed. Are you sure that you are getting the Z-order right? Try using
"Bring to Front" on various controls to see if it affects your
arrangement.

That said, you really should use SplitContainer. It's one of the things
I most want that I don't have in the 2003 version (that and generics).
I haven't heard that Splitter changed its behaviour, but compared to
SplitContainer, Splitter sucks. SplitContainer is much easier to work
with in the Designer.

Jul 26 '06 #2
Right that. I just tried it and SplitContainer definitely is the way
to go...I just wish when you get used to doing things a certain way,
they wouldn't change the functionality.

Cheers!

Bruce Wood wrote:
That said, you really should use SplitContainer. It's one of the things
I most want that I don't have in the 2003 version (that and generics).
I haven't heard that Splitter changed its behaviour, but compared to
SplitContainer, Splitter sucks. SplitContainer is much easier to work
with in the Designer.
Jul 26 '06 #3
dotnetchic wrote:
Right that. I just tried it and SplitContainer definitely is the way
to go...I just wish when you get used to doing things a certain way,
they wouldn't change the functionality.
Hey... they make mistakes, too.

Now I wish they'd just fix the stupid TabControl.... :-)

Jul 26 '06 #4
Bruce Wood wrote:
dotnetchic wrote:
Right that. I just tried it and SplitContainer definitely is the way
to go...I just wish when you get used to doing things a certain way,
they wouldn't change the functionality.

Hey... they make mistakes, too.

Now I wish they'd just fix the stupid TabControl.... :-)
Well, since the TabControl is probably a wrapper around the Windows
native control, it probably can't be done in just the runtime. But
they now have the TabStrip but I'm not sure if that will address
whatever problems you've had with the Tab control

Jul 27 '06 #5
Chris Dunaway wrote:
Bruce Wood wrote:
dotnetchic wrote:
Right that. I just tried it and SplitContainer definitely is the way
to go...I just wish when you get used to doing things a certain way,
they wouldn't change the functionality.
Hey... they make mistakes, too.

Now I wish they'd just fix the stupid TabControl.... :-)

Well, since the TabControl is probably a wrapper around the Windows
native control, it probably can't be done in just the runtime. But
they now have the TabStrip but I'm not sure if that will address
whatever problems you've had with the Tab control
Probably not. I'm referring to annoying things such as:

1. There's no way to make a TabPage "disappear" when it doesn't apply
and reappear when it's relevant again. You have to remove it from the
TabControl and then reinsert it, and you can only reinsert it at the
end. MS's solution is to Enable = false the TabPage, but that's too
lame even for me (and I'm generally very tolerance of MS's
suggestions).

2. There's no way to do anything with the presentation of the tab
portion of a TabPage. You can't change the background colour, you can't
change the font. Nothing. Well, actually, you can, if you don't mind
changing the background colour / font of the _entire_ tab page contents
at the same time. This is particularly annoying in conjunction with
ErrorProviders, which work fine on TabPages, but there's no easy way to
indicate that a tab page contains an error.

3. I do hope that they fixed the Designer bug in VS2005... the one that
scrambles your tab pages when you save your form. Then I can remove the
&*#@ code in my constructors that removes all TabPages from each
TabControl and reinserts them in the correct order.

There's more, but I can't recall just now....

Jul 27 '06 #6

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

Similar topics

7
by: John | last post by:
Hi, I have a group of controls in a panel on the right-hand side of a splitter and a treeview on the left-hand side. The only configuration that I can find to make the right-hand side resize...
3
by: MFRASER | last post by:
How do I move the splitter inside of code. if(TypeA) { this.pnlHXMLList.Visible = false; this.splTop.is.Top = 65; } else
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...
1
by: Chuck Bowling | last post by:
I have a couple of controls that I'd like to use a vertical splitter control with. My problem is that I want different heights for the controls. Is there any way to set the height of each...
2
by: Hrcko | last post by:
How to use this control? I have to grids on my form, one on the top and one on bottom. When I start application I want to be able to move bottom grip up, and top grid down, but it doesn't...
2
by: TC | last post by:
How do I make a Splitter control go away? Neither the Visible property nor the Enabled property seems to have any effect. -TC
3
by: Sam | last post by:
Hi all, I have a splitter sitting between 2 panels (which I use for drawing) on my main form. The problem that I'm having is that when I resize my form, the panel(plnDwgContainer) that has the...
4
by: Peter | last post by:
Hi, Does anyone know how to drag a splitter by coding. I will put three controls on form1,two panels and a splitter. The first panel's dock property is set to top, the splitter's dock is also...
1
by: JDeats | last post by:
I have a simple WinForm with a WinForms splitter down the middle. I would like to make it so when the user clicks on a button inside the left portion of the screen (the panel to the splitters left)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
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...

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.