Skip to main content

TcxSchedulerHolidays.LoadFromFile(string) Method

Reads holidays from the specified file into the TcxSchedulerHolidays component.

Declaration

procedure LoadFromFile(const AFileName: string); virtual;

Parameters

Name Type
AFileName string

Remarks

By default, imported holidays are not available to the scheduler. To change this, set the TcxSchedulerHolidaysLocation.Visible and TcxSchedulerHolidaysLocationHoliday.Visible properties to True.

AFileName specifies the source file (the supported format is similar to the format specified for Microsoft Outlook.HOL).

See Also