Click here to Skip to main content
15,901,373 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
There are two sheridan grids of same size.
First grid has horizontal scrollbar to scroll the columns.
Second grid has no scroll bar.
Now the problem is that when i scroll the scroll bar of first grid ,i want the columns of the second grid also to scroll
simultaneously.
Can you please help me out how do both grids scroll simultaneously using single scroll bar.

I have used scroll event called Scroll_After():
VB
Private Grid1_ScrollAfter()
Grid2.LeftCol = Grid1.LeftCol
End Sub


But still am not able to see Grid2 scrolling along with Grid1.
Posted
Updated 16-Feb-10 21:06pm
v2

1 solution

Why on earth would anyone be using a language that is obsolete, unsupported, and rubbish ?

Surely you have a scroll event on the first box, which you can catch and then scroll the second box to the same position using code ?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900