Topic: Is There An In-Line TableGrid Edit Method?
Hello,
I was wondering if there is an in-line TableGrid edit method so that I can trigger a selected cell to go into edit mode?
Obviously, using the mouse double click allows you to enter edit mode of a cell but how does one do so using just a keyboard?
Further more, it is common that the F2 key or, in some cases, Shift+F6 keyboard shortcuts allows you to enter edit mode of a cell which is what I am trying to achieve.
I know I can do:
procedure Form1_TableGrid_OnKeyUp (Sender: TObject; var Key: Word; Shift, Alt, Ctrl: boolean);
begin
if Key = 71 then // 71 is key code for F2
<ENTER SELECTED CELL EDIT MODE>
end;
but as you can see I am missing the <ENTER SELECTED CELL EDIT MODE> part...
Any help or ideas will be appreciated and thank you in advance!