Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How To Scroll a TStringGrid dynamically?

I am working in the Borland C++Builder IDE, using VCL controls. I am trying to get a TStringGrid component to scroll down to a row and highlight that row, based on user input in a different form. I have the highlight portion done, but I can't figure out how to scroll the grid down to the correct row. Anyone here know?

like image 441
Ben313 Avatar asked Jun 23 '10 21:06

Ben313


1 Answers

Set the TopRow property.

like image 59
Josh Kelley Avatar answered Oct 08 '22 03:10

Josh Kelley