We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ScrollControl/SplitterControl

Thread ID:

Created:

Updated:

Platform:

Replies:

13799 May 11,2004 12:08 PM UTC May 15,2004 05:16 AM UTC WinForms 5
loading
Tags: Tools
Administrator [Syncfusion]
Asked On May 11, 2004 12:08 PM UTC

I set up a splitter control with a control derived from ScrollControl as the component. If I set the VScrollBar.SmallChange to a value != 1 and do a click on the VScrollBar, the correct scroll is done. But after that the VScrollBar.SmallChange value is reset to 1. You can reproduce this behaviour in the SplitterControlDemo sample, if you set the SmallChange value in the constructor to 100 or another value. Is there a way to correct this behaviour? I''m using version 1.6.1.8. Regards Peter

Peter
Replied On May 13, 2004 03:33 AM UTC

Any suggestions? Regards Peter

Administrator [Syncfusion]
Replied On May 13, 2004 06:58 AM UTC

Hi Peter, you can set ScrollControl.AllowIncreaseSmallChange = false; Otherwise if it is set to true (default) the scroll control tries to modify the scrolling behavior and change the SmallChange value and increase it the longer the scroll arrow was pressed. After that it will be reset to 1. With ScrollControl.AllowIncreaseSmallChange = false; the SmallChange value will be left alone. Stefan

Peter
Replied On May 13, 2004 11:36 AM UTC

That property seems to be not working. There is the same behaviour if it''s set to true or false.

Administrator [Syncfusion]
Replied On May 15, 2004 04:51 AM UTC

It works while you keep the mouse down on the arrow, but I found a problem with the handling of the .EndScroll case in OnVScroll where the values gets set to 1. We will get that fixed for the next service patch. If you want to work around this issue now you would have to override OnVScroll, call the base class version and check for the .EndScroll case. At that moment you could reapply your .SmallChange value. Stefan

Peter
Replied On May 15, 2004 05:16 AM UTC

Thank you for your response, the workaround works fine for me. Regards Peter

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;