Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl problem
Re: GridCtrl problem [message #21351 is a reply to message #21015] |
Thu, 14 May 2009 13:56   |
|
koldo wrote on Sat, 25 April 2009 11:12 | Hello unodgs
It is difficult for me to find the root cause. I have got the exception in three places, always trying to access hitems[] elems over its scope and always when moving the mouse over the Grid time after the Grid is filled with data.
I suppose this is circumstantial, but I usually use grids with few rows but hundreds of columns.
I have began to enclose the code with problems with if (hitems.GetCount() > hcol) {
...
} This is not the solution but it lets me follow.
Best regards
Koldo
|
This is workaround. The problem is hcol should never point to not existing column. I guess the problem is in GetMouseCol. Could you pleas post workable test case similar to your real app?
|
|
|
Goto Forum:
Current Time: Tue Aug 26 00:10:05 CEST 2025
Total time taken to generate the page: 0.05571 seconds
|