procedure TForm1.Edit1KeyPress(Sender: TObject; var Key: Char); begin if not (key in [#8,#13,'A'..'Z','a'..'z','Ñ','ñ','Ç','ç']) then key:=#0; end;