procedure TForm1.Button2Click(Sender: TObject);
begin
Memo1.Lines.Text:=ItemList.Text;
end;
procedure TForm1.FormCreate(Sender: TObject);
var
I:Integer;
begin
ItemList:=TStringList.Create;
For I:=1 To 10 Do
ItemList.Add('Input String:'+IntToStr(I));
end;