Gridposition after Refresh

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
cis-wurzen
Posts: 75
Joined: Tue 04 Jan 2005 10:26

Gridposition after Refresh

Post by cis-wurzen » Wed 05 Mar 2008 13:49

In version 6.25.2.14 the TDBGrid scrolls after refresh as described in Topic 4993. Same in version 5.80.0.42.

With version 5.70.1.34 this doesn't happen.

Property KeyFields is always set.

http://crlab.com/forums/viewtopic.php?t=4993

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Thu 06 Mar 2008 08:24

Please specify whether TDBGrid component scrolls to the first row, or current row remains the same but the position of that row on the screen has changed.

cis-wurzen
Posts: 75
Joined: Tue 04 Jan 2005 10:26

Post by cis-wurzen » Thu 06 Mar 2008 08:47

The current row remains the same but the position of that row on the screen has changed (moved to the top).

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 11 Mar 2008 09:07

This is not a bug. In the latest ODAC versions we have fixed some problems with Refresh. As a result, data in the grid are reloaded on Refresh, and the position of current row on the screen is lost. But the changes are required because the old behaviour leads to access violations.

Post Reply