Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxScheduler.SelectWorkDays(TDateTime) Method

Emulates selecting weekdays in the Date Navigator, which will then be displayed in the scheduling area.

#Declaration

Delphi
procedure SelectWorkDays(const ADate: TDateTime);

#Parameters

Name Type
ADate TDateTime

#Remarks

The AWeekDate parameter specifies the date to be displayed within a workweek. If the AWeekDate falls on the weekend, it’s not displayed in the scheduling area or selected in the Date Navigator and the next or previous week’s working days are displayed instead, depending upon the regional settings of the computer. For instance, if Saturday is the last day of the week and Sunday is the first day of the week (US regional settings), when the AWeekDate parameter is set to Saturday the previous week (ending with that Saturday) is displayed or if the AWeekDate parameter is set to Sunday the next week (beginning with that Sunday is displayed)

Note

When a weekend day is passed as the AWeekDate parameter the week displayed is entirely dependent upon the regional settings of the system.

See Also