Vcl.MPlayer.TMediaPlayer.Next

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Next;

C++

void __fastcall Next();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.MPlayer.pas
Vcl.MPlayer.hpp
Vcl.MPlayer TMediaPlayer

Description

Moves to the beginning of the next track of the currently loaded medium.

If the current position is at the last track when Next is called, Next makes the current position the beginning of the last track. If the multimedia device doesn't use tracks, Next goes to the end of the medium. Next is called when the Next button on the media player control is clicked at runtime.

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

See Also