Skip to main content

TdxSchedulerCompressWeekends Class

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

Declaration

TdxSchedulerCompressWeekends = class(
    TdxSchedulerAction
)

Remarks

This class does not introduce any new public members. Executing a TdxSchedulerCompressWeekends action object either displays both the Saturday and Sunday in one day cell or in separate cells when the Weeks View is active:

VCL Scheduler: A Compress Weekends Operation Example

This action object switches the Scheduler control’s ViewWeeks.CompressWeekEnd property value between True and False.

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

See Also