RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMediaPlayer.Stop Method

Halts playing or recording.

Pascal
procedure Stop;
C++
__fastcall Stop();

Stop is called when the Stop button on the media player control is clicked at runtime. 

Upon completion, Stop stores a numerical error code in the Error property, and the corresponding error message in the ErrorMessage property. 

The Wait property determines whether control is returned to the application before the Stop method has completed. The Notify property determines whether Stop generates an OnNotify event. 

 

Error 

ErrorMessage 

FileName 

Notify 

OnNotify 

Wait 

Adding Audio and/or Video Clips to an Application

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!