3
Well, I’m trying to download a text file and get a Richedit to take the content from that file. But I don’t really know how to do it. I tried so:
news := 'http://pokestage.ddns.net/patch/patchlist.txt';
sRichEdit1.Lines[1] := IdHTTP2.Get(news);
I know it doesn’t work, because Idhttp’s Get type is not string, I would like to know how to do. PS: The file contains several lines. Thanks in advance.
Edit: I got it this way:
news := 'http://pokestage.ddns.net/patch/News.txt';
sRichEdit1.Text := IdHTTP2.Get(news);
Thanks, but I got it some other way.
– Gabriel Sales
Share your knowledge and answer your question with your method, it may help others in the future :)
– Zuul