I have two TMSFMXGrids and I need to synchronize if one of both is scrolled down/up and scroll the second one with the same number of pixels. How can I achieve this?
Best regards, Philipp
Hi,
procedure TForm1.Timer1Timer(Sender: TObject);
begin
TMSFMXGrid2.GetHorizontalScrollBar.Value := TMSFMXGrid1.GetHorizontalScrollBar.Value;
TMSFMXGrid2.GetVerticalScrollBar.Value := TMSFMXGrid1.GetVerticalScrollBar.Value;
end;