Dec 20, 2002 #1 Barbaro Programmer Joined Jan 23, 2002 Messages 9 Location CL Is there a way to sincronize to stringgrids when moving the scollbar of one of them?
Dec 20, 2002 #2 Zathras Programmer Joined Nov 12, 2002 Messages 3,317 Location 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;