Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - different color for  worktime of day
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

different color for worktime of day

 Post Reply Post Reply
Author
Message
Ditte View Drop Down
Groupie
Groupie


Joined: 28 October 2007
Status: Offline
Points: 94
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ditte Quote  Post ReplyReply Direct Link To This Post Topic: different color for worktime of day
    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
Back to Top
Ditte View Drop Down
Groupie
Groupie


Joined: 28 October 2007
Status: Offline
Points: 94
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ditte Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Ditte View Drop Down
Groupie
Groupie


Joined: 28 October 2007
Status: Offline
Points: 94
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ditte Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.