|
RAD Studio VCL Reference
|
TMPBtnType defines the possible buttons in a TMediaPlayer component and TButtonSet represents a set of those buttons.
TMPBtnType = ( btPlay, btPause, btStop, btNext, btPrev, btStep, btBack, btRecord, btEject );
enum TMPBtnType { btPlay, btPause, btStop, btNext, btPrev, btStep, btBack, btRecord, btEject };
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. |
|
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|