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:
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) ornullptr
(in C++Builder)). - The Scheduler control’s CurrentView is the TimeGrid View.
Inheritance
TObject
TPersistent
TComponent
TBasicAction
TContainedAction
TCustomAction
TAction
TdxBasicAction
TdxCustomAction
TdxSchedulerAction
TdxSchedulerSnapEventsToTimeSlots
See Also