procedure TfrmBorrow_Edt.edtBalanceKeyPress(Sender: TObject; var Key: Char); begin if (key = #13) then begin Perform(WM_NEXTDLGCTL,0,0); end; end;