Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
How to link scrollbars of 2 grids ?
posted

Hi,

I have 2 grids on my form and need 'link' both scrollbars, so moving one grid scrollbar, second ('linked') will be moved by same vector.

Can someone please advise how to achieve that

Parents
No Data
Reply
  • 155
    Verified Answer
    Offline posted

    OK seems Ive found solution

    // row
    			grdToScroll.ActiveRowScrollRegion.ScrollPosition = grd.ActiveRowScrollRegion.ScrollPosition;
    			
    			// column
    			grdToScroll.ActiveColScrollRegion.Position		= grd.ActiveColScrollRegion.Position;

Children
No Data