Posted 21 January 2018, 8:58 pm EST
After having switched to splits, we experience a random “deadlock” like condition where the bookmark points to one row, but the | cell-marker is on .firstRow.
When the “deadlock” condition happens:
- TDBgrid will return .firstRow instead of RowIndex in _FetchCellTips
- .CellContaining(X, Y, RowNumber, ColNumber) will return return .firstRow too as RowNumber
- .Bookmark returns .firstRow instead of the bookmark location
- we can not move the | cell-marker with the arrow keys to a new row
It has not been possible to replicate this “deadlock” condition in house on a constant basis, but it happens repeatedly to some of our customers and we have found other TrueDBGrid80 users with what seems to be the same problem:
https://www.grapecity.com/en/forums/activex-edition/bug-in-firstrow-property
http://computer-programming-forum.com/65-vb-controls/a5618a0d0db54255.htm
Is there a known way to recover from this “deadlock” condition or avoid it all together? We are on the brink of having to roll back our software to the previous release, which our customers most likely won’t appreciate.
We use ComponentOne True DBGrid Pro 8.0 (OLEDB)
Kind regards, Martin.