473,797 Members | 3,166 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SplitContainer question

Thanks in advance for reading/responding.

In my Windows forms app, I was going to have an Infragistics ListBar control
docking/filling the left panel of a SplitContainer, and use the right panel
to load my user controls.

But now I want to sometimes have another user control (narrow.. to show a
list) next to (on the right of) my ListBar. I'll want the right panel to
spring/maximize to as much space as it can take up. If there is just the
ListBar on the form, then the right panel would stretch over to it. If
there's a secondary list control in the left panel, I'd like the right panel
to spring back to allow it to display too.

QUESTION: Can I do this with just one SplitContainer control, or do I need
to put another SplitContainer control within the left panel of the main
SplitContainer control? How do I make the right panel "spring" back and
forth to accomodate something else being next to the ListBar (the ListBar
will be fixed by the way)?

Thanks for any help,
Ron
Apr 5 '07 #1
0 1300

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

Similar topics

0
1785
by: Brian A. Cline | last post by:
I have a SplitContainer that holds a TreeView and ListView. When using the splitter to resize them, a focus rectangle is shown during and after the resize event. Is there any way to prevent this? I have already tried setting the SplitContainer's TabStop property to false but it had no effect on the aforementioned behavior. Thanks, Brian Cline
1
2846
by: Martin | last post by:
Hi all! I made a UserControl with a SplitContainer in it. I put some controls in the SplitContainer.Panel1. After that, I created a new UserControl which inherit from the previously created UserControl. So far, so good... I can see the SplitContainer in the new UserControl. However, I have a problem. I can't add a control in the Panel2 of the SplitContainer of the UserControl which inherit from the UserControl with the SplitContainer...
1
5396
by: Ronald S. Cook | last post by:
At design time, how can I change the name of the SplitterPanels that are children within my SplitContainer control? I was able to name the SplitContainer splContainer, but I can't see how to change the name of the panels. They are splContainer.Panel1 and splContainer.Panel2... very annoying. Thanks for any help, Ron
7
10406
by: newscorrespondent | last post by:
I want to save the state of a splitcontainer when an application ends. I also save the form state. The SplitContainer does not seem to have a well defined place to put intiialization and termination code. I have tried to use my first splitter moved event to set the splitter position but I am getting several splitter moved events before my form is displayed. One is from the form initialization code and the second is from my code that...
0
1717
by: =?Utf-8?B?TmVpbGc=?= | last post by:
I have a SplitContainer in which I have TextBox filled on one side and a RichTextBox on the other. I just noticed when I do a text select in either textbox, the controls don't respond to Control C for a copy. Has anyone seen this behavior when using a Splitcontainer and textboxes? I have been captured the keydown event for the textboxes but
2
6230
by: Doc John | last post by:
We developed a Win application that basically consists of an Mdi Form and several child Forms. Now we want to change its appearance so that it has an Outlook-like appearance: it would have a panel on the left with several buttons, and when I press those buttons the individual Forms would open up on the right panel. How difficult would this transition be? I've added a splitContainer to my Mdi Form, but I'm not sure how to display a Child...
1
2419
by: Jeff Williams | last post by:
I have a form which contains a split panel In Panel 2 I have an OK and Cancel button at the bottom of the Panel. I add a form to the top of the panel so I now have a form with a fixed Ok and Cancel button showing in panel2. I have some code relating to the form in panel2 which has to be run when the Ok button is pressed. How can I run the code contained in the form from the Ok button in the splitcontainer panel2.
0
1349
by: KalupaPaluku | last post by:
Hello!!! I've got a problem of my form application that the KeyDown function doesn't work. It suppose to be go to the next textbox field within same panel control but it doesn't work, as i'm using SplitContainer.Panel in such forms. Isn't it the SplitContainer caused this problem happen? How can i solve the problem? The code that i'm use is VB 2005. Private Sub TextBox64_KeyDown(ByVal sender As Object, ByVal e As...
5
4742
by: kulabhishek | last post by:
Hello, I have developed one user control using SplitContainer. It is simply like two textboxes connected to each other with splitter in between them. Whenever I increase width of the control 1. By dragging it with right edge, I want the splitter and the left textbox to remain fixed and 2. By dragging it with left edge, I want the splitter and the right textbox to remain fixed. We can set only one of the panels as FixedPanel.
0
9537
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
10246
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...
0
10023
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7560
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
6803
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5459
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4135
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
3750
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2934
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.