The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator Syncfusion Team 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
PEPeterMay 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.
ADAdministrator Syncfusion Team 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
PEPeterMay 15, 2004 05:16 AM UTC
Thank you for your response, the workaround works fine for me.
Regards
Peter