procedure TForm1.EditKeyPress(Sender: TObject; var Key:Char);beginifthen begin Perform(WM_NEXTDLGCTL,0,0); key:= #0; end;end;