在onkeypress事件写如下代码:
if key=#13 then
   begin
     keybd_event(vk_tab,0,0,0);
     keybd_event(vk_tab,0,keyeventf_keyup,0);
   end;