Print Page | Close Window

month view and week view problem

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=12668
Printed Date: 07 October 2024 at 3:26am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: month view and week view problem
Posted By: sguy1234
Subject: month view and week view problem
Date Posted: 12 November 2008 at 3:00pm

the calendar keeps drawing the days: sutarday and sunday as small boxes, as they are the weekend days.

How can i set the weekend to be Friday and sutarday, so that the box for sunday will be drawn as a BIG box like the others working days?
 
regards,
 
Guy.



Replies:
Posted By: prashant
Date Posted: 10 December 2008 at 3:01am
Hi,
On calendar InitInstance() call:

///!<Start Day Sunday>
///!<An integer from range between 1 and 7, where 1 = Sunday, 2 = Monday, and so on.>

GetCalendarCtrl().SetFirstDayOfWeek(1);


Posted By: SuperMario
Date Posted: 10 December 2008 at 1:04pm
Or maybe you need:

CalendarControl.Options.MonthViewCompressWeekendDays = False



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