Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - weeknumbers calendarcontrol
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

weeknumbers calendarcontrol

 Post Reply Post Reply
Author
Message
axdoverm View Drop Down
Groupie
Groupie
Avatar

Joined: 16 August 2008
Location: Netherlands
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote axdoverm Quote  Post ReplyReply Direct Link To This Post Topic: weeknumbers calendarcontrol
    Posted: 12 January 2010 at 7:08am
Hey Guys,
 
I have a problem with the agenda control. As you can see in the picture the weeknumbers are wrong. The agenda is showing that the 12th off january is weeknumber 3 but it should be weeknumber 2. And weeknumber 1 should be weeknumber 53 ??
 
 
Is there a way to change this ?? ... please help me !!! ... i really need a solution for this problem.
Gr. Andr
 
 
Product: Xtreme SuitePro (ActiveX) version 11.2.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0
Back to Top
dentor View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2005
Location: France
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote dentor Quote  Post ReplyReply Direct Link To This Post Posted: 12 January 2010 at 10:21am
Hello Axdoverm,
 
You must set the FirstWeekOfYearDays property to 4 in the DatePicker object:
 
In the help File, you can read:
 
The FirstWeekOfYearDays property is needed because the first week of the year can be different depending on how many days occur in the first week.  For example, in Germany the first week of the year has to be a week with at least four days.  In the United States the first calendar week starts with January 1st.
 
 
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0 SP 6
Back to Top
axdoverm View Drop Down
Groupie
Groupie
Avatar

Joined: 16 August 2008
Location: Netherlands
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote axdoverm Quote  Post ReplyReply Direct Link To This Post Posted: 12 January 2010 at 10:48am
Thank you verry much, the solution was easy .... properbly i was sleeping  ... but i'm happy that this problem is fix!
 
Product: Xtreme SuitePro (ActiveX) version 11.2.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0
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.188 seconds.