Skip to main content

TcxCustomSchedulerStorage.InternalUpdate Property

Determines whether the scheduler and its underlying data store are currently being synchronized.

Declaration

property InternalUpdate: Boolean read;

Property Value

Type
Boolean

Remarks

The InternalUpdate property returns a value of True if the scheduler is currently synchronizing with its data store (the EndUpdate method is being executed).

If the scheduler is working in smart refresh mode (see the TcxSchedulerDBStorage.SmartRefresh property) and the underlying data store is shared between the scheduler and another control, the scheduler does not synchronize the time View with the store for the data modification made by the concurrent control.

Use the InternalUpdate property to determine if it is necessary to reload the data store when you handle the dataset’s data modification events.

//...
procedure TForm1.ClientDataSet1AfterDelete(DataSet: TDataSet);
begin
  if not SchedulerDBStorage.InternalUpdate then
    <SchedulerDBStorage>.FullRefresh;
end;
See Also