Vcl.MPlayer.TMediaPlayer.Stop
Delphi
procedure Stop;
C++
void __fastcall Stop();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.MPlayer.pas Vcl.MPlayer.hpp |
Vcl.MPlayer | TMediaPlayer |
Description
Halts playing or recording.
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.