Can I load a memo or rich edit from a text file on server?

后端 未结 3 338
一生所求
一生所求 2021-01-15 05:36

I designed a website and its uploaded to server and is working fine. in one of these pages i get some info from users like their addresses and ... and save them to a text fi

3条回答
  •  南笙
    南笙 (楼主)
    2021-01-15 06:03

    Both TRichEdit and TMemo load the data from string you pass to them. So what you need to do in your client-side application is download the text file (probably using HTTP client, Indy's one is one of the options) and pass it's contents to TRichEdit or TMemo (via Text property in TMemo, and corresponding mechanisms in TRichEdit).

提交回复
热议问题