Ben313
Ben313

Reputation: 1668

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?

Upvotes: 17

Views: 9409

Answers (1)

Josh Kelley
Josh Kelley

Reputation: 58442

Set the TopRow property.

Upvotes: 29

Related Questions