if key=vk_down then//µ±¼üÅÌ°´ÏÂÏòϼüʱ
begin
......//¼ìÑéÊÇ·ñÕý¿Ë
key:=vk_up;
dbgrid1.OnKeyDown(sender,key,shift);
end;
if key=VK_left then
begin
......//¼ìÑéÊÇ·ñÕý¿Ë
key:=vk_right;
dbgrid1.OnKeyDown(sender,key,shift);
end;
其它的同理可得!