Refresh the Control

Sometimes, you might want to force a refresh. To do so, call the system function, Delete Calendar Activity, and pass in Delete All Activities for the Activity ID parameter. Runtime responds by removing all activities from the entire control and flushing the memory where previously traveled-to dates are stored. Runtime also sets the start and stop system variables to match the view that is currently set. In other words, runtime places the control in a condition similar to being newly initialized.

After calling Delete Calendar Activity, call Load Calendar Activity, passing in the start and stop system variables (SL_StartTime and SL_EndTime) to populate the current control view.