CGXGridParam::SetEnterKeyAction
void SetEnterKeyAction(WORD nAction);
nAction
-
Specifies the action the grid shall perform when the user presses ENTER:
-
0 - cell’s value shall be stored in the grid and the cell shall be set inactive. The current cell will not be moved to another cell.
- GX_UP - move up one cell.
- GX_LEFT - move left one cell.
- GX_RIGHT - move right one cell.
GX_DOWN - move down one cell.
Remarks
Lets you specify the default grid action when the user presses the ENTER key. The default is to move to the right cell. Specify 0 for simply storing the current cell’s value.