InFrameProgressEvent
property, read-only
Delphi
property InFrameProgressEvent: Boolean read GetInFrameProgressEvent;
C++Builder
__property bool InFrameProgressEvent = {read=GetInFrameProgressEvent, nodefault};
C#
public bool InFrameProgressEvent { get; }
VB.NET
Public ReadOnly Property InFrameProgressEvent As Boolean
C++/Qt
BOOL GetInFrameProgressEvent ();
Used to know if the OnFrameProgress event is currently occurring. This property is useful e.g. when using a trackbar to track the player position. In this case the TrackBar's OnChange event must not update the TVideoGrabber's player position if this event occurs while the trackbar is updated from the OnFrameProgress event, otherwise a loop back update occurs and the trackbar motion is "jerky". Sample code: procedure TForm1.TrackBar1Change(Sender: TObject); begin if not VideoGrabber1.InFrameProgressEvent then begin VideoGrabber1.PlayerFramePosition := TrackBar1.Position; end; end;