Vcl.MPlayer.TMediaPlayer.Previous
Delphi
procedure Previous;
C++
void __fastcall Previous();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.MPlayer.pas Vcl.MPlayer.hpp |
Vcl.MPlayer | TMediaPlayer |
Description
Sets the current position to the beginning of the previous track if the position was at the beginning of a track when Previous was called.
If the position is at the first track or somewhere other than the beginning of a track when Previous was called, Previous sets the current position to the beginning of the current track. If the device doesn't use tracks, Previous sets the current position to the beginning of the medium, which is specified in the Start property. Previous is called when the Previous button on the media player control is clicked at runtime.
Upon completion, Previous 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 Previous method has completed. The Notify property determines whether Previous generates an OnNotify event.