Dec 20, 2002 #1 Barbaro Programmer Jan 23, 2002 9 CL Is there a way to sincronize to stringgrids when moving the scollbar of one of them?
Dec 20, 2002 #2 Zathras Programmer Nov 12, 2002 3,317 US Quite simple, really. Add an event handler to one (or both) grids: Code: procedure TForm1.StringGrid1TopLeftChanged(Sender: TObject); begin StringGrid2.TopRow := StringGrid1.TopRow; end; Upvote 0 Downvote
Quite simple, really. Add an event handler to one (or both) grids: Code: procedure TForm1.StringGrid1TopLeftChanged(Sender: TObject); begin StringGrid2.TopRow := StringGrid1.TopRow; end;