Skip to content

SyncCommands

property

Delphi
property SyncCommands: Boolean read GetSyncCommands write SetSyncCommands  default DEF_SyncCommands;
C++Builder
__property bool SyncCommands = {read=GetSyncCommands, write=SetSyncCommands, default=1};
C#
public bool SyncCommands { get; set; }
VB.NET
Public Property SyncCommands As Boolean
C++/Qt
BOOL GetSyncCommands ();
void SetSyncCommands (BOOL Value);

Synchronize the TVideoGrabber commands.

Remarks

By defaut this property is enabled so TVideoGrabber is blocking and synchrone (it waits for the commands to be completed)

To invoke the component from a thread to avoid blocking the main thread, disable this property.

See also EventNotificationSynchrone