Splitter control width at start-up...

  • Thread starter Thread starter celoftis
  • Start date Start date
C

celoftis

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
 
Forgot to mention, the "SplitPosition" property is having no effect on
the initial split position...
 
Instead of trying to set the Splitter position, you need to set the width of
the control that it is left docked to.
JMH.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top