473,385 Members | 1,317 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,385 software developers and data experts.

Splitter docked right, but how to maintain right-side control?

I've got a form with three controls: a left-docked richtextbox, a
right-docked form, and a right-docked listview.

When I resize the form, the listview increases and decreases, the
splitter remaining at the same spot. How can I maintain the size of the
right-side listview when resizing the parent form? (Have the splitter
move in relationship to the right-edge of the form.)

I have to do this programmatically, no VS IDE to work with.

Thanks
--
Rob
My Reply-To is valid as displayed.
Nov 15 '05 #1
1 3005
"Bob (remove 'excise-' to reply)" <an********@excise-onebox.com> wrote in
message news:dd********************************@4ax.com...
I've got a form with three controls: a left-docked richtextbox, a
right-docked form, and a right-docked listview.

When I resize the form, the listview increases and decreases, the
splitter remaining at the same spot. How can I maintain the size of the
right-side listview when resizing the parent form? (Have the splitter
move in relationship to the right-edge of the form.)

I have to do this programmatically, no VS IDE to work with.


Splitter has a MinSize property

"Gets or sets the minimum distance that must remain between the splitter
control and the container edge that the control is docked to."

I think MinExtra sets the minimum on the other side.

HTH
--
Daisy The Cow
Now playing: DJ Sammy - Sunlight [Bossa Nova Mix]
Nov 15 '05 #2

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

Similar topics

1
by: Bevo | last post by:
I have two panels on my form with a splitter between them. The top panel is docked Fill and the bottom is docked Bottom. The splitter is docked Bottom. When I run and try to move the splitter the...
1
by: Krish | last post by:
This is my first try with C# windows gui devlopment, is it correct to say that gui development in C# is windows forms. I would like to create a form with two sections, 2 datagrids, I would like...
6
by: magmo | last post by:
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...
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...
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...
4
by: Marina | last post by:
Hi, It seems that I am seeing an inconsistency in the arguments that get passed to the SplitterMoved vs. SplitterMoving events. As in, the ones for the SplitterMoving are correct coordinates,...
5
by: dotnetchic | last post by:
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...
2
by: Istvan | last post by:
Hello ....Window.Forms.... Can somebody help me with Panels and Splitters ? I want to add three Panels to one Usercontrol , between them with two movable Splitter. First Row: 2...
2
by: eric dexter | last post by:
I am trying to steal this code from the wxpython demo but it appears that mb comes from nowhere and I am having errors because of it import wx ...
1
by: Julian Mensch | last post by:
My employer has developed an application in Delphi with a very complex user-interface that we may be transitioning to C# at some point. Our interface uses large numbers of tabbed sub-forms, with...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.