Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Dec : HTTP Content Question
| Subject: | HTTP Content Question |
| Posted by: | "Tom Russell" (tom.russell@nospam.com) |
| Date: | 21 Dec 2007 09:05:02 |
I am using the Indy HTTP socket to read in the content of a webpage, however I want to present it in a memo which I am able to do, however it just shows up as a single line in the memo.
Is there something special to show multiple lines?
Heres my code:
procedure TForm1.AdvGlowButton1Click(Sender: TObject);
Var
i: Integer;
MyString: TStringList;
begin
MyString := TStringList.Create;
MyString.Add(IdHTTP1.Get(Edit1.Text));
AdvMemo1.Lines.AddStrings(MyString);
end;
Thanks.