procedure TForm1.Edit1KeyPress(Sender: TObject; var Key: Char); begin if not ProvInputDrobn(Key)(тут) then key:=chr(0); end;