TcxScheduler.SelectWorkDays(TDateTime) Method
Emulates selecting weekdays in the Date Navigator, which will then be displayed in the scheduling area.
Declaration
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.