Board index » cppbuilder » TStringGrid : Enter should move input-cursor one cell below
TK
![]() CBuilder Developer |
Sat, 29 Jun 2002 03:00:00 GMT
TStringGrid : Enter should move input-cursor one cell below
Hi
Do you know a solution for a derrived TStringGrid-component that after editing in the grid and then pressing the Enter-key, the input-cursor rectangle is moving down one cell below? I already tried with the following, but had no success. Thank you very much in advance. void __fastcall TTestGrid::KeyDown(WORD &Key, Classes::TShiftState Quote} if (Key==VK_RETURN) { Key=0; } //................ others .................. TStringGrid::KeyPress(Key); Quote} |