Print Page | Close Window

different color for worktime of day

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=12354
Printed Date: 07 October 2024 at 5:31am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: different color for worktime of day
Posted By: Ditte
Subject: different color for worktime of day
Date Posted: 07 October 2008 at 4:44am
Hi,

I like to see the worktime of day.
I know that it works, but something's wrong.
I set the
->> Set COMWorkDayStartTime of hoCalendarOptions to dtTime
->> Set COMWorkDayEndTime   of hoCalendarOptions to dtTime
->> Set ComWorkWeekMask of hoCalendarOptions to (iCalendarweekdays    ior OLExtpCalendarDayMo_Fr)

The values Iīm getting back are:

COMWorkDayStartTime  = "30.01.2000 07:00:00"
COMWorkDayEndTime    = "31.12.2050 17:00:00"
ComWorkWeekMask       = 62
I mean that they are correct, but I get no different colors for the worktime.

What I must do, must I do something before?



-------------
Regards



Dittmar



Product: Xtreme SuitePro (ActiveX) 13.4.2

Platform: Win XP

Language: Visual Dataflex 16.1



Replies:
Posted By: Ditte
Date Posted: 07 October 2008 at 7:39am
Hi,
Iīve created a new object. I donīt do anything.
The calendar has his standard (mo-fr ->workweek; 8.00 - 17.00 Workday)
I see this with divverent colors, ok.
Iīve changed the workweek to mo-wed. Perfect.
If I change the daystarttime and the dayendtime it will do so as all day will be labor-free.
It seems that my datetime values arenīt correct.
What should I send (datetime value) to get the correct workday from
6.00 to 14.00  (only a sample, my workday is longer)



-------------
Regards



Dittmar



Product: Xtreme SuitePro (ActiveX) 13.4.2

Platform: Win XP

Language: Visual Dataflex 16.1


Posted By: Ditte
Date Posted: 07 October 2008 at 8:12am
Hi,
all is ok.
COMWorkDayStartTime  = "30.01.2000 06:00:00"
COMWorkDayEndTime    = "30.01.2000 14:00:00"



-------------
Regards



Dittmar



Product: Xtreme SuitePro (ActiveX) 13.4.2

Platform: Win XP

Language: Visual Dataflex 16.1



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net