TsgcWSPClient_Dataset › Events › OnBeforeSynchronize
Fires when the server announces the start of a Synchronize batch.
property OnBeforeSynchronize: TNotifyEvent;
// TNotifyEvent = procedure(Sender: TObject) of object
—
Raised when the server sends the "synchronize start" marker in response to a Synchronize call. Use it to disable UI controls, put the Dataset in a known empty state, or call DisableControls before the batch of new-record messages arrives. OnAfterSynchronize fires when the batch completes.
procedure TForm1.oProtocolBeforeSynchronize(Sender: TObject);
begin
FDMemTable1.DisableControls;
end;