I have a grid where the user tabs thru the row, the last column bumps them down a row... but the first column is not a combo. Not sure if its an issue. The last column in the grid contains a command button. This code is in the keypress method of the command button:
LPARAMETERS nKeyCode, nShiftAltCtrl
IF m.nKeyCode=9 ;
THEN
KEYBOARD '{DNARROW}' PLAIN CLEAR
ENDIF
>Hi! I have a grid, this is an invoice body.
>
>When the user tabs past the last column in my grid, my method works out wether to add a new record or just set the focus on the next line of my grid in the first column. The first column of the grid is a combobox.
>
>I achieved this by filling the keyboard buffer with an arrow down.
>
>The first column must now be a combo list, so filling the keyboard buffer with arrow down now changes the combo selection, and no longer moves the current row down one. How can I set the row of the grid?
>
>Any ideas?
>
>Any help extremley apreciated