TdxCloudStorage.OnItemDownloaded Event
Notifies of the successful finish of a file download process.
Declaration
property OnItemDownloaded: TItemDownloadedEvent read; write;
Remarks
The OnItemDownloading and OnItemDownloaded events occur at the start and successful finish of a file download process, respectively. If an attempt to download a file from the connected online storage’s server resulted in an error, the OnError event occurs instead of OnItemDownloaded.
Handle this event to obtain a stream with the downloaded file’s content by reading the AStream parameter. Then, you can load the file into a control that displays and/or edits such files. Refer to the TItemDownloadedEvent nested type description for details on all parameters accessible within an OnItemDownloaded event handler.
Note
Handle the OnItemDownload event to track the progress of the active file download process.