RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMediaPlayer.Pause Method

Toggles the open multimedia device on or off.

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

If the device is already paused when Pause is called, the device resumes playing or recording by calling the Resume method. Pause is called when the Pause button on the media player control is clicked at runtime. 

Upon completion, Pause 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 Pause method has completed. The Notify property determines whether Pause generates an OnNotify event. 

 

Error 

ErrorMessage 

Notify 

OnNotify 

Resume 

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!