Procedure DoEndDownload(const AsyncResult: IAsyncResult) Procedure ReceiveDataEvent(const Sender: TObject AContentLength: Int64 AReadCount: Int64 var Abort: Boolean) Procedure BStartComponentClick(Sender: TObject) Procedure ButtonCancelClick(Sender: TObject) Procedure BStartDownloadClick(Sender: TObject) System.ImageList, FMX.ImgList,, FMX.Layouts, FMX.ListBox , FMX.StdCtrls, FMX.Edit,, FMX.ScrollBox, FMX.Memo, System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,įMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,, , I will be glad if you can help me with the error. I am attaching the codes I edited below and the pas file of the original application. Also, I added a code that will remove the edit object where the filename is written, to preserve the original filename in the URL. It also downloads some files without any problems. The application is running, but this time it thinks it has downloaded some files and gives the information that it is complete. I wanted to encode the application for multi download and I added a listbox of random URLs in it. There is no error in the original application, it works smoothly. The filename is also being changed from another edit object. The original application downloads the file from the URL contained in a single edit object. I tried to develop the HttpAsyncDownload sample application for myself in RAD Studio 10.4 Demos-master.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |