Subject SemiAuto inserting text into gridcell
Author Aage Johansen
I'd like to insert predefined string into cells of a TIB_Grid. For
TIB_Memo I use something like the following in the KeyUp event, checking
for f.ex. some Ctrl+<letter>:
if (Sender is TIB_Memo) then
begin
if Shift = [ssCtrl] then
begin
if Key in [Ord('A')..Ord('Z')] then (Sender as
TIB_Memo).SelText:=MACRO[Key];
...
(This may not be the approved way of doing it - advice is welcome)

So, with the cursor placed in a cell of the TIB_Grid and the user hits
Ctrl-<some letter> the text should be inserted. But how?


Regards,
Aage J.