Print Page | Close Window

weeknumbers calendarcontrol

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=15988
Printed Date: 06 October 2024 at 3:24pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: weeknumbers calendarcontrol
Posted By: axdoverm
Subject: weeknumbers calendarcontrol
Date 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



Replies:
Posted By: dentor
Date 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


Posted By: axdoverm
Date 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



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