During runtime of my application, the record pointer seems to move to the top of the source table when the user clicks on a record inside the grid object, following a short delay.
You should probably check the methods of the grid and see which one is causing that problem. Most probably you have some method either in when, AfterRowColumChange, BeforeRowColumChange, etc.
If the user clicks on any row in the grid, the record pointer of the underlying table moves to that position.
Does this happen if the user just clicks on a non cell element of the grid? What I mean by a non cell element is - the header, scroll bar, etc.
If it moves to the top of the underlying table and the user isn't clicking on a cell, then, the grid might be getting reconstructed somehow. Check if you have any code in the gotfocus, when, etc. that could be reloading the grid.
How is the grid being populated? Underlying table(alias), query, or SQL?
Darrell 'We all must do the hard bits so when we get bit we know where to bite'
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.