17

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?

Johan
  • 74,508
  • 24
  • 191
  • 319
Ben313
  • 1,662
  • 3
  • 20
  • 32

1 Answers1

28

Set the TopRow property.

Josh Kelley
  • 56,064
  • 19
  • 146
  • 246
  • 3
    I dont know if I'm happy This worked, or upset I spent so much time trying to figure out something this simple. Either way, Thaks a ton! – Ben313 Jun 23 '10 at 21:24