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);
Enables the synchronous behavior of the trackbar. When this property is enabled, moving the trackbar with the mouse also immediately moves the position in the video clip. 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 properly, inform TVideoGrabber of the mouse and keyboard actions on the trackbar by invoking NotifyPlayerTrackbarAction from the trackbar's event.
Look at the trackbar code in 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.