\r
Date Dev Ver Change details\r
---------- --- ----- --------------\r
-2008-01-07 DP 1.9.0 Add support for direct debugging of functions with\r
+2009-01-08 DP 1.9.0 Restore old behaviour of the Edit Grid where <return>\r
+ moves to the next column, but <enter> moves to the next\r
+ row rather than both changing column [mei ben]\r
+2009-01-07 DP 1.9.0 Add support for direct debugging of functions with\r
variadic parameters.\r
-2008-01-05 GL 1.9.0 Add -S and -Sc command line options to open a server\r
+2009-01-05 GL 1.9.0 Add -S and -Sc command line options to open a server\r
status window\r
2009-01-01 DP 1.9.0 Add support for the many new node types in Postgres 8.4\r
[Ashesh Vashi]\r
}
else
{
- if (curcol == sqlGrid->GetNumberCols()-1)
+ if( keycode!=WXK_NUMPAD_ENTER )
{
- curcol=0;
- currow++;
- // locate first editable column
- while (sqlGrid->IsReadOnly(currow, curcol) && curcol < sqlGrid->GetNumberCols())
- curcol++;
- // next line is completely read-only
- if (curcol == sqlGrid->GetNumberCols())
- return;
+ if (curcol == sqlGrid->GetNumberCols()-1)
+ {
+ curcol=0;
+ currow++;
+ // locate first editable column
+ while (sqlGrid->IsReadOnly(currow, curcol) && curcol < sqlGrid->GetNumberCols())
+ curcol++;
+ // next line is completely read-only
+ if (curcol == sqlGrid->GetNumberCols())
+ return;
+ }
+ else
+ curcol++;
+ }
+ else // ( keycode==WXK_NUMPAD_ENTER )
+ {
+ currow++;
}
- else
- curcol++;
OnSave(ev);
sqlGrid->SetGridCursor(currow, curcol);