PlayerTrackBarSynchrone
Delphi
property PlayerTrackBarSynchrone: Boolean read GetPlayerTrackBarSynchrone write SetPlayerTrackBarSynchrone default DEF_PlayerTrackBarSynchrone;
C++Builder
__property bool PlayerTrackBarSynchrone = {read=GetPlayerTrackBarSynchrone, write=SetPlayerTrackBarSynchrone, default=0};
C#
public bool PlayerTrackBarSynchrone { get; set; }
VB.NET
Public Property PlayerTrackBarSynchrone As Boolean
C++/Qt
BOOL GetPlayerTrackBarSynchrone ();
void SetPlayerTrackBarSynchrone (BOOL Value);
Enable the synchrone behavior of the trackbar
Remarks
When this property is enabled, moving the trackbar with the mouse moves also the position in the video clip immediately.
When this property is disabled, the position is updated only after moving the mouse on the trackbar, when the mouse button is released.
Important: For this feature to work property inform TVideoGrabber of the mouse and keyboard actions on the trackbar by invoking NotifyPlayerTrackbarAction from the trackbar's event.
Look at the trackbar's code of the MainDemo project for sample code. When using Delphi or C++Builder, if a TTrackbar component is assigned to the PlayerTrackbar property this is handled automatically.