Skip to main content

TdxSchedulerSnapEventsToTimeSlots Class

An action object that corresponds to the SnapEventsToTimeSlots command provided by the Scheduler control.

Declaration

TdxSchedulerSnapEventsToTimeSlots = class(
    TdxSchedulerAction
)

Remarks

This class does not introduce any new public members. Executing a TdxSchedulerSnapEventsToTimeSlots action object visually snaps user events to the currently used time blocks in the TimeGrid View. If events are already snapped, this action restores their actual lengths:

VCL Scheduler: Snap Events to Time Slots

UI elements linked to a TdxSchedulerSnapEventsToTimeSlots action object are enabled only if the following conditions are met:

  • The Scheduler control has an assigned persistent manager component (i.e., the control’s Storage property value is not set to nil (in Delphi) or nullptr (in C++Builder)).
  • The Scheduler control’s CurrentView is the TimeGrid View.
See Also