Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Error in FirstDayOfWeek documentation
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Error in FirstDayOfWeek documentation

 Post Reply Post Reply
Author
Message
nighthawk View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 June 2004
Status: Offline
Points: 167
Post Options Post Options   Thanks (0) Thanks(0)   Quote nighthawk Quote  Post ReplyReply Direct Link To This Post Topic: Error in FirstDayOfWeek documentation
    Posted: 22 April 2007 at 7:35pm
I've been trying to work work with the CalendarControl.Options.FirstDayOfWeek but I ran into a lot of problems using it like the documentation says.  The documentation says the values for this are:

Sunday=1
Monday=2
Tuesday=4
Wednesday=8
Thursday=16
Friday=32
Saturday=64

After a lot of frustrating experimentation, It seems to only work with the following values:

Sunday=1
Monday=2
Tuesday=3
Wednesday=4
Thursday=5
Friday=6
Saturday=7

Please confirm that this is an error in the documentation.  I am using 10.4.2.
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 16 May 2007 at 5:26pm
Hi,

Yes, a correct documentation says a following:

    //     nFirstDayOfWeek - An int that contains the new first day of the
    //                       week. An integer from range between 1 and 7,
    //                       where 1 = Sunday, 2 = Monday, and so on.


--
WBR,
Serge
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.125 seconds.