Progress Event
Fires periodically during the data transfer.
Syntax
typedef struct { __int64 Total; __int64 Current; bool Cancel; } TsbxHTTPClientProgressEventParams; typedef void __fastcall (__closure *TsbxHTTPClientProgressEvent)(System::TObject* Sender, TsbxHTTPClientProgressEventParams *e); __property TsbxHTTPClientProgressEvent OnProgress = { read=FOnProgress, write=FOnProgress };
Remarks
Use this event to check the progress of an upload or download operation. Total indicates the total number of bytes to be transferred; Current specifies how much data has been transferred so far, and Cancel gives you a chance to cancel the operation.