|
|
|
|
|
SchedulerWorkingHourResource (Function) In french: PlanningHeureOuvrableRessource Allows you to indicate the specific working hours per day and per resource in a Scheduler control. This time period can be specified: - for the morning.
- for the afternoon.
The time periods can be defined per resource and per day of the week. // Doctor Moore works from 9:00 to 14:00 SchedulerWorkingHourResource(SCH_MySchedule, "Moore", "0900", "1400") // Doctor Brown works from 9:00 to 12:00 and from 13:40 to 19:15 SchedulerWorkingHourResource(SCH_MySchedule, "Brown", "0900", "1200", "1330", "1915") // Doctor Brown works from 9:00 to 12:00 on Wednesdays SchedulerWorkingHourResource(SCH_MySchedule, "Brown", "0900", "1200", "", "", 3)
Syntax
SchedulerWorkingHourResource(<Scheduler control> , <Resource name> , <Morning start time> , <Morning end time> [, <Afternoon start time> [, <Afternoon end time> [, <Day of week>]]])
<Scheduler control>: Control name Name of Scheduler control to use. <Resource name>: Character string Name of resource to use. <Morning start time>: Time or Character string Morning start time (in "HHMM" format). <Morning end time>: Time or Character string Morning end time (in "HHMM" format). <Afternoon start time>: Time or Optional character string Afternoon start time (in "HHMM" format). <Afternoon end time>: Time or Optional character string Afternoon end time (in "HHMM" format). <Day of week>: Optional integer Indicates the number of the day affected by the specified schedules: - 1 for Monday,
- 2 for Tuesday,
- 3 for Wednesday,
- 4 for Thursday,
- 5 for Friday,
- 6 for Saturday,
- 7 for Sunday.
If this parameter is not specified or if it is set to 0, the definition of working hours is applied to all days of the week. Remarks - The working hours are highlighted by a different color. This color is chosen in the style options of the control.
- SchedulerWorkingHourResource replaces the working hours defined with the WorkingHourStart and WorkingHourEnd properties and the SchedulerWorkingHour function.
- GanttWorkingHour is the equivalent function for Gantt Chart controls.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|