Skip to main content

TdxCustomSpreadSheet.OnProgress Event

Enables you to track the progress of time-consuming operations, such as data import/export and report building.

Declaration

property OnProgress: TdxSpreadSheetProgressEvent read; write;

Remarks

You can handle this event to display a progress bar in your application (the TcxProgressBar control, for instance) during lengthy operations with files or streams. The OnProgress event is fired multiple times per operation on reaching certain inner marks that depend on nature of the operation.

The Sender parameter specifies the Spreadsheet or Report Designer control that fires OnProgress event.

The APercent parameter returns the percentage value (which ranges from 0 to 100) indicating the progress of the operation performed by a spreadsheet control.

See Also