Associates a trackbar to the player (Delphi and C++Builder versions only).

property PlayerTrackBar: TTrackBar read GetPlayerTrackBar write SetPlayerTrackBar default DEF_PlayerTrackBar;

__property Comctrls::TTrackBar *PlayerTrackBar=read=GetPlayerTrackBar, write=SetPlayerTrackBar, default=0



Used to associate a trackbar to the player (Delphi and C++Builder versions only).

To use it:
- put a trackbar component on the form,
- select the TVideoGrabber component with the object inspector,
- browse the PlayerTrackBar property and select the trackbar you put on the form.

At runtime, when opening a video clip, the trackbar frequency is set to the number of frames of the video clip (1).
During playback, the trackbar cursor moves automatically, according to the current position of the video clip played.
When the clip is paused, you can set a new position simply by moving the trackbar cursor.

(1) note: the frequency of the trackbar is limited to 32768, see PlayerTrackBarScale for more information.

See Also
Player features TOnPlayerStateChanged TPlayerState TOnPlayerBufferingData AudioChannelRenderMode AudioStreamNumber AutoStartPlayer AVIDuration AVIHeaderInfo AVIInfo AVIInfo2 ClosePlayer FastForwardPlayer IsPlayerAudioStreamAvailable IsPlayerVideoStreamAvailable Last_Clip_Played OnPlayerBufferingData OnPlayerEndOfStream OnPlayerStateChanged OnPlayerUpdateTrackbarPosition OpenPlayer OpenPlayerAtFramePositions OpenPlayerAtTimePositions PausePlayer PlayerAudioCodec PlayerAudioRendering PlayerDuration PlayerDVSize PlayerFastSeekSpeedRatio PlayerFileName PlayerForcedCodec PlayerFrameCount PlayerFramePosition PlayerFrameRate PlayerFrameStep PlayerRefreshPausedDisplay PlayerRefreshPausedDisplayFrameRate PlayerSpeedRatio PlayerTimePosition PlayerTrackBarScale PlayerTrackBarSynchrone PlayerVideoCodec RewindPlayer RunPlayer RunPlayerBackwards ShowDialog SourceStream StopPlayer SynchronizationRole Synchronized VideoHeight_PreferredAspectRatio VideoWidth_PreferredAspectRatio