Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCloudStorage.TItemUploadingEvent Type

The nested procedural type of the file upload initiation event.

#Declaration

Delphi
TItemUploadingEvent = procedure(Sender: TObject; const AFileName: string; const ASize: Integer) of object;

#Parameters

Name Type Description
Sender TObject

The cloud storage component that uploads a file to the connected server.

AFileName string

The full path to the uploaded file.

ASize Integer

The source local file’s size, in bytes.

#Remarks

The Sender parameter provides access to the cloud storage component that raised the file upload initiation event. To access the cloud storage component’s class members within a TItemUploadingEvent event handler, cast the parameter value to the TdxCloudStorage class.

The AFileName parameter returns the full path to the local file that the file upload routine has started to copy to the connected online storage service’s server.

The ASize parameter returns the source local file’s size, in bytes. For example, you can use this value to calculate the overall file upload progress within a TItemUploadEvent event handler.

The OnItemUploading event references the TItemUploadingEvent nested procedural type.

See Also