Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl - Child Ctrl, selected row, focus issue
Re: GridCtrl - Child Ctrl, selected row, focus issue [message #10117 is a reply to message #10113] |
Thu, 21 June 2007 08:55   |
|
Quote: | There appears to be an issue with GridCtrl related to child ctrls the selected row and focus in general.
|
Thanks for the test case!. Bug is hopefuly fixed (I hope it wont break something else - grid is quite complicated). Before I put here the new GridCtrl (I'm almost done with NoEditable) comment IsNewCol() in Go0(...) in two places.
case GO_LEFT:
{
if(!SetCursor0(curpos.x < 0 ? firstVisCol : curpos.x - 1,
curpos.y < 0 ? firstVisRow : curpos.y,
0, 0, -1, 0, ctrlmode)/*.IsNewCol()*/)
return false;
break;
}
case GO_RIGHT:
{
if(!SetCursor0(curpos.x < 0 ? firstVisCol : curpos.x + 1,
curpos.y < 0 ? firstVisRow : curpos.y,
0, 0, 1, 0, ctrlmode)/*.IsNewCol()*/)
return false;
break;
}
|
|
|
 |
|
GridCtrl - Child Ctrl, selected row, focus issue
|
 |
|
Re: GridCtrl - Child Ctrl, selected row, focus issue
By: unodgs on Thu, 21 June 2007 08:55
|
 |
|
Re: GridCtrl - Child Ctrl, selected row, focus issue
|
 |
|
Re: GridCtrl - Child Ctrl, selected row, focus issue
By: unodgs on Thu, 21 June 2007 22:26
|
Goto Forum:
Current Time: Fri Jul 18 10:49:34 CEST 2025
Total time taken to generate the page: 0.04897 seconds
|