When the server needs to update appointment data from physical storage, it fires specific events. You must implement handlers for these events to retrieve data and update the appointment properties.
OnRefreshAppt: Fired when a specific appointment object in memory needs updating. The appointment's Modified property is set to False before the event fires.OnRefreshSched: Fired when the server needs to refresh all appointments linked to a specific schedule (provided via the Sched parameter). The Modified property for each linked appointment is set to False before the event fires.
If you need to manually mark an appointment as changed, call TJvTFAppt.SetModified.
// Example: Handling OnRefreshAppt to reload data from disk
procedure TMyManager.ScheduleManagerOnRefreshAppt(Appt: TJvTFAppt);
begin
// Retrieve data from physical storage
Appt.Description := LoadDescriptionFromDB(Appt.ID);
// ... set other properties
end;