Discuss this help topic in SecureBlackbox Forum


TElCustomDataStorage     See also     

Filter: C#/Java  VB.NET  Pascal  C++  PHP  

Shows operation progress.


    event TSBDataStorageProgressEvent OnProgress;
    delegate void TSBDataStorageProgressEvent(object Sender, TSBDataStorageOperation Operation, long Total, long Current, ref bool Cancel);

    Event OnProgress As TSBDataStorageProgressEvent
    Delegate Sub TSBDataStorageProgressEvent(ByVal Sender As Object, ByVal Operation As TSBDataStorageOperation, ByVal Total As Long, ByVal Current As Long, ByRef Cancel As Boolean)

    property OnProgress: TSBDataStorageProgressEvent;
    TSBDataStorageProgressEvent = procedure(Sender : TObject; Operation : TSBDataStorageOperation; Total, Current : Int64; var Cancel : boolean) of object;

    void get_OnProgress(TSBDataStorageProgressEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnProgress(TSBDataStorageProgressEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBDataStorageProgressEvent)(void * _ObjectData, TObjectHandle Sender, TSBDataStorageOperationRaw Operation, int64_t Total, int64_t Current, int8_t &Cancel);

    TSBDataStorageProgressEvent|callable|NULL get_OnProgress()
    void set_OnProgress(TSBDataStorageProgressEvent|callable|NULL $Value)
    callable TSBDataStorageProgressEvent(TObject $Sender, integer $Operation, integer $Total, integer $Current, bool &$Cancel)


  • Operation - specifies the operation being performed.
  • Total - total size of the data being transferred
  • Current - specifies how much data has been sent/received already
  • Cancel - allows to cancel the operation

Operation values:


    This event is fired in order to show progress of the data storage operation.

See also:     OnOperationFinish     OnOperationStart    

Discuss this help topic in SecureBlackbox Forum