Jump to content
Tom F

Turn off TDBGrid's automatic vertical centering of row already visible?

Recommended Posts

In the TDbGrid as shown, when the line below is executed:

dataset1.RecNo = 7;

Delphi correctly selects the row, but then scrolls the grid down a few rows vertically so that row 7 is vertically centered in the grid even though it was previously visible. :classic_sad:

Is there a way to disable this unconventional behavior? 

 

 

grid.png

Share this post


Link to post

Does TD bGrid have the "center selected record" property?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×