thread OnSynchronization event
Return to Introduction  Previous page  Next page
Applies to
acThread component.  

Declaration
type  
  TacThreadMethodEvent = procedure(Sender: TObject; var Method: TThreadMethod) of object;  
 
property OnSynchronization: TacTHreadMethodEvent;  

Description
The OnSynchronization event being triggered on call of Synchronize and SynchronizeEx methods, and its already synchronized with the main application thread.  
 
The Method parameter determines the synchronized method which about to be called. You may set Method to nil to cancel execution of this method.  

See also
Synchronize and SynchronizeEx methods;