How To Scroll a TStringGrid dynamically?
Asked Answered
P

1

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?

Protolanguage answered 23/6, 2010 at 21:1 Comment(0)
P
29

Set the TopRow property.

Pentimento answered 23/6, 2010 at 21:17 Comment(1)
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!Protolanguage

© 2022 - 2024 — McMap. All rights reserved.