RodrigoJr
7 years agoOccasional Contributor
The grid row´s index 20 is out of bounds
I'm having trouble using ClickCell in a Borland TDBGrid, TestObj.ClickCell (Row, Column, Shift) you are returning an error message: 'The grid row's index 20 is out of bounds'. Can anyone help me?...
- 7 years ago
I could be wrong, but it sounds like that, even though there are 28 lines in the grid, the rows that are available for cell referencing only number 0-14. Your code sould take into consideration the visible rows, not the total rows, when determining what row to click on.