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. Image for the cookie policy date

Scrolling a GridControl pixel by pixel

Your support is slipping; I created a Direct-Trac incident for this Friday morning and have yet to hear a response. This forum seems to be getting attention, so I''ll try here too. What properties and methods do I call to get a Grid Control to scroll one pixel at a time? Do I still set the TopRowIndex property to perform the scrolling action? I can''t find anything in the documentation that describes how this can be done with an external scrollbar. Attached is a sample I put together to show the problem. -Roy ScrollTest_4293.zip

2 Replies

AD Administrator Syncfusion Team August 2, 2004 10:08 AM

To scroll a grid using a detached scrollbar, you should use the technique shown in grid\samples\quckstart\scrollbars. If you do that, you can get pixelscrolling just bt setting grid.VScrollPixel = true.

RM Roy Muller August 2, 2004 11:36 AM

Thanks! My Direct-Trac incident has been nicely updated, too. It seems I''ve implemented the Visitor Pattern 180 degrees opposite of your implementation; you give the gridcontrol the visit reference from the scrollbar, my solution gave the usercontrol based scrollbar a reference to the scrollable control. I''ve got some refactoring to do :-/ Thanks again for the excellent support. -Roy

Live Chat Icon For mobile
Up arrow icon