VDF16.1
When the user records the datas in a grid, I like that he comes back to the first column in the next line.
In dbgrid, I had such a code
Code:
Procedure Down_Row
Forward Send Down_row // move down 1 row
if (champs.recnum = 0) Set Current_Item to (Base_Item(self)) // Make crnt item 0
End_Procedure
How can I do the same in a cDbCJGrid ?
In the help it's said that the procedure "MoveDownRow" bring the focus to the first column enterable in that row but it seems that it's not correct.
I have written this procedure (where oTests_code11 is the first cDbCJGridColumn) but it doesn't work.
Code:
Procedure MoveDownRow
Forward Send MoveDownRow
Send Activate to oTests_code11
End_Procedure
Thanks
Jacques