I sometimes randomly get this when scrolling the grid.
When I continue past the exception, I get a dialog.
--------------------------- Application Name --------------------------- Error: -1 --------------------------- OK ---------------------------
--------------------------- Debugger Exception Notification --------------------------- Project MyApp.exe raised exception class EListError with message 'List index out of bounds (-1)'. Process stopped. Use Step or Run to continue. --------------------------- OK Help ---------------------------
Here's the stacktrace.
TList.Error('List index out of bounds (%d)',-1) TList.Error($47C018,-1) TInterfaceList.Get(-1) TNxBaseRow6.GetChildRow(-1) QuickFindRow(TNxBaseRow6($362FC90) as INxBranches,Pointer($362FCB0) as INxRows) TNxCells6.GetRow(-1) TNxCells6.GetShowing(-1) TNxVirtualGrid6.GetShowing(-1) TNxReportGridView6.GetCellRect(0,104) TNxGridView6.RefreshCell(0,104) TNxGridView6.RefreshSelection TNxCustomGrid6.WMKillFocus((8, 4001256, 0, 0)) TControl.WndProc((8, 4001256, 0, 0, 3560, 61, 0, 0, 0, 0)) TWinControl.WndProc((8, 4001256, 0, 0, 3560, 61, 0, 0, 0, 0)) TWinControl.MainWndProc((8, 4001256, 0, 0, 3560, 61, 0, 0, 0, 0)) StdWndProc(1319146,8,4001256,0) TCustomForm.SetActiveControl($366E460)