By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,747 Members | 1,683 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,747 IT Pros & Developers. It's quick & easy.

Persistance of splitter

P: n/a
Using VS 2005 VB.NET I am trying to persist (using MySettings) the splitter
position in a splitter container. I have defined a property for the
SplitterDistance in the control's application data and using breakpoints I
can see that the value written to settings is indeed recalled when the form
is re-opened. However, the actual position of the splitter that is displayed
is incorrect; it seems always to be too far to the right, almost like some
other value is being added.

Any suggestions on what is happening?

The two list views in either side of the splitter have only their column
widths persisted, the size of the listviews is not persisted.

Thank you,
Sid.
Jul 16 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Dont you have to move the panel or whatever the splitter is against? So you
would be setting/saving the panel postion and size, not the
"splitterdistance".


"Sid Price" wrote:
Using VS 2005 VB.NET I am trying to persist (using MySettings) the splitter
position in a splitter container. I have defined a property for the
SplitterDistance in the control's application data and using breakpoints I
can see that the value written to settings is indeed recalled when the form
is re-opened. However, the actual position of the splitter that is displayed
is incorrect; it seems always to be too far to the right, almost like some
other value is being added.

Any suggestions on what is happening?

The two list views in either side of the splitter have only their column
widths persisted, the size of the listviews is not persisted.

Thank you,
Sid.
Jul 27 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.