Código Delphi [-]... Edit1.Text:= IntToStr(Random(10) + 1); ...
... Edit1.Text:= IntToStr(Random(10) + 1); ...