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

Splitter control width at start-up...

I have a VB .NET 2003 application with a spliter docked to the right. I
want to control the width of the split as the application starts... is
there a property to-do that? Here's what I have:

'Code above...
Me.mySplitter = New Splitter
Me.mySplitter.Dock = DockStyle.Left

'The following two settings don't seem to impact the
' initial width of the splitter, but only its
' limitations...
Me.mySplitter.MinExtra = 100
Me.mySplitter.MinSize = 100
'Code below...
-Charles

Nov 22 '05 #1
3 1650
Forgot to mention, the "SplitPosition" property is having no effect on
the initial split position...

Nov 22 '05 #2
Instead of trying to set the Splitter position, you need to set the width of
the control that it is left docked to.
JMH.

"celoftis" <ce******@earthlink.net> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
I have a VB .NET 2003 application with a spliter docked to the right. I
want to control the width of the split as the application starts... is
there a property to-do that? Here's what I have:

'Code above...
Me.mySplitter = New Splitter
Me.mySplitter.Dock = DockStyle.Left

'The following two settings don't seem to impact the
' initial width of the splitter, but only its
' limitations...
Me.mySplitter.MinExtra = 100
Me.mySplitter.MinSize = 100
'Code below...
-Charles

Nov 22 '05 #3
Great thanks for the tip...

Nov 22 '05 #4

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: Andre Loker | last post by:
Hi! For my current application I'm looking for a four-way-(cross) splitter control (as often seen in 3D-editors). The .NET Splitter-class is (IIRC) only a two-way splitter. Does anyone know such...
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: 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
2
by: Mika M | last post by:
Hello! My windows form has Splitter control on it, and I save splitter's last X-location when user changes it like ... Private Sub Splitter1_SplitterMoved(ByVal sender As Object, ByVal e As...
4
by: Frank | last post by:
On a form I have a control that is docked top. Under it a splitterbar that is also docked top. If I want to programmatically move the splitter how do I do that: Set the height of the control or...
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)...
1
by: JDeats | last post by:
I have a WinForm with three Splitter controls on it. The form divides up in this order: Tab Control (docked to the left): Splitter1: RichTextBox (docked to the left): Splitter2 After Splliter2...
6
by: =?Utf-8?B?bGpsZXZlbmQy?= | last post by:
I want to implement the following: If the user clicks on the border of a form, then I want to show a box around the form that represents the form's bounds. As the user moves the mouse only the...
8
by: Mr. X. | last post by:
Hello. I have put 3 components on the form : Panel . dock property is left (left panel). Spliter. dock property is left. Panel. dock property is fill (right panel). I see that the spliter has...
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...
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
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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
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...

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.