Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Problem with IsRowEditable
Problem with IsRowEditable [message #36181] |
Wed, 09 May 2012 12:18 |
|
koldo
Messages: 3357 Registered: August 2008
|
Senior Veteran |
|
|
Hello Daniel
Actual implementation is:
bool GridCtrl::IsRowEditable(int r)
{
if(r < 0)
r = curpos.y;
else
r += fixed_rows;
return vitems[r].editable && hitems[curpos.x].editable;
}
I have found possible to call IsRowEditable() with r = -1 and curpos.y = -1, so an exception is thrown because of vitems[-1].
May you check this case in the function?
Best regards
IƱaki
|
|
|
Goto Forum:
Current Time: Sun Apr 28 13:58:01 CEST 2024
Total time taken to generate the page: 0.04015 seconds
|