RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
MPlayer.TMPBtnType Enumeration

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

Pascal
TMPBtnType = (
  btPlay,
  btPause,
  btStop,
  btNext,
  btPrev,
  btStep,
  btBack,
  btRecord,
  btEject
);
C++
enum TMPBtnType {
  btPlay,
  btPause,
  btStop,
  btNext,
  btPrev,
  btStep,
  btBack,
  btRecord,
  btEject
};

MPlayer

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.  

 

TBitBtn 

TSpeedButton

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!