PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Weekends in Scheduler
Weekends in Scheduler
Iniciado por guest, 30,jun. 2016 10:27 - 6 respuestas
Publicado el 30,junio 2016 - 10:27
Hi All,

How can i define all monday as holiday in scheduler.


Thanks

Shijo S Philip
Publicado el 30,junio 2016 - 10:34
You could use BankHolidayAdd in combination with FirstDayOfWeek.

Adri
Publicado el 30,junio 2016 - 10:46
Hi Adri,

Monday i just said an example. I need to specify any day of a week as weekend.

Thank you

Shijo S Philip
Publicado el 30,junio 2016 - 12:55
So you can use DateToDay to determine the day and then use BankHolidayAdd.

Cheers,
Adri
Publicado el 30,junio 2016 - 13:05
Hi Adri,

Thanks

Now i set a date period and make all wednesday as bank holiday.

Can we set time limit for scheduler and change color of bank holiday ?

Thank you

Shijo S Philip
Publicado el 30,junio 2016 - 20:34
If I remember well you can set background color for BankHoliday in the description - style tab of your schedule control.
You can limit time per day for a task but not for a BankHoliday.
I use a time table, selectable by the user. In this time table I set the working hours and pause per day. I split a task based on the rules of this time table.
So yes you can do a lot on tuning the schedule control, but not 'out of the box'. You need to create your own code.

Cheers,
Adri
Publicado el 02,julio 2016 - 06:43
Hi Adri,

Thanks lot


Shijo S Philip