Good day everyone,
I have a form with 2 ultragrids on them. The left grid has its scrollbars hidden. Now I want the right grid to lead the left grid along. So if I move the scrollbar on the right grid I want the left grid to follow.
Now I know this has been answered before, and I followed that solution. Here is a snippet of my code:
UltraGrid1.ActiveRowScrollRegion.ScrollPosition = e.RowScrollRegion.ScrollPosition
End Sub
Ultragrid1 is my left grid and MultiLayerGrid1 is my center grid. This solution works HOWEVER the left grid is slower then my right grid. So when I scroll the left grid is always a step behind. So I tried to use the:
UltraGrid1.ActiveRowScrollRegion.ScrollPosition = e.NewState.ScrollPosition
But it has no effect.
Is it even possible to have the two grids synchronised completely ? The behaviour is simply not acceptable at the moment.
Thanks for any help in advance,
Lunaios
lunaios said:But it has no effect.
What exactly do you mean? You are setting the ScrollPositon of the left grid, but it's not scrolling? That doesn't make sense. There's no reason why setting the ScrollPosition should fail completely.
Or do you just mean that the behavior of the left grid lagging behind doesn't change?