OnAddProgress Event



 
Fires when the progress of adding files to the AudioFiles collection changes.


Syntax

    SiteKiosk.CDRecording.OnAddProgress = handler
Parameters
    steps Long value that contains the completed steps.
    totalsteps Long value that contains the total number of steps.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example displays the progress while adding files to the AudioFiles collection.

    <div id="id_add">Adding: 0 / 0</div>
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    
    var lk_CDRecording = SiteKiosk.CDRecording;
    lk_CDRecording.OnAddProgress = OnAddProgress;
    function OnAddProgress(steps, totalsteps)
    {
       id_add.innerHTML = "Adding: " + steps + " / " + totalsteps;
    }
    </SCRIPT>
    

Applies to
    SiteKiosk v6.0 (and later versions).

Back to top