home *** CD-ROM | disk | FTP | other *** search
/ Delphi 4 Bible / Delphi_4_Bible_Tom_Swan_IDG_Books_1998.iso / source / KeyMouse / Enter2Tab.pas next >
Pascal/Delphi Source File  |  1998-02-12  |  175b  |  9 lines

  1. procedure TForm1.FormKeyPress(Sender: TObject; var Key: Char);
  2. begin
  3.   if Key = #13 then
  4.   begin
  5.     Key := #0;
  6.     SelectNext(ActiveControl, True, True);
  7.   end;
  8. end;
  9.