OnDone
OnError
OnLoaded
OnLoop
OnTimer
OnWarning
Parameters: none
Edition: Standard, Professional, Enterprise
<Click
here for example>
This event fires when the wave file is completed playing and the audio device has been freed.
Edition: Standard, Professional, Enterprise
Parameters: none
Edition: Standard, Professional, Enterprise
<Click
here for example>
This event fires when etPlay has finished loading the wave file into memory. The audio device has not yet been allocated to this control.
If the etPlay.DevicePause property is current set to true then it will not begin to play. The audio device will nto be allocated until etPlay.Device.Pause is set to false. This is useful for loading large files into memory during idle time so that the user will not experience a delay.
Parameters: none
Edition: Standard, Professional, Enterprise
<Click
here for example>
This event fires when the wave file has completed playing and it is about to start playing again. This event will only fire when the etPlay.Device.Loop property is set to True.
From within your event handler of this routine, you can set the etPlay.Device.Loop property to False to stop playing the wave files. This is useful if the application needs to play a wave file a given number of times and then stop at the end of the file.
Note: Do not set the etPlay.Device.Active property to false in this event handler routine
Parameters: none
Edition: Standard, Professional, Enterprise
This event fires the etPlay timer reaches the etPlay.Timer.Interval. The etPlay.Timer.Enabled property
must be set to true for the timer to operate.
The etPlay.Volume.Position property is updated each time this event fires.
Parameters: var Continue: Boolean
Edition: Standard, Professional, Enterprise
<Click
here for example>
This event is fired when an warning is cause while playing a wave file. By default, the Continue parameter can be set to True to allow the playing of the wave file to continue. If it is set to False etPlay will stop playing the wave file as if the etPlay.Device.Active property were set to false.