Vcl.MPlayer.TMPBtnType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TMPBtnType = (btPlay, btPause, btStop, btNext, btPrev, btStep, btBack,
btRecord, btEject);

C++

enum DECLSPEC_DENUM TMPBtnType : unsigned char { btPlay, btPause, btStop, btNext, btPrev, btStep, btBack, btRecord, btEject };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.MPlayer.pas
Vcl.MPlayer.hpp
Vcl.MPlayer Vcl.MPlayer

Description

TMPBtnType defines the possible buttons in a TMediaPlayer component and TButtonSet represents a set of those buttons.

TMPBtnType represents the type of a media player button. TButtonSet is a set of button types for the media player.

Each button type has an associated action on the media player. The following table lists the button types and their associated actions:



Value Action

btPlay

Plays the media player.

btRecord

Starts recording.

btStop

Stops playing or recording.

btNext

Skips to the next track, or to the end if the medium doesn't use tracks.

btPrev

Skips to the previous track, or to the beginning if the medium doesn't use tracks.

btStep

Moves forward a number of frames.

btBack

Moves backward a number of frames.

btPause

Pauses playing or recording. If already paused when clicked, resumes playing or recording.

btEject

Ejects the medium.



See Also