Print Page | Close Window

How to specify number of months to Scroll

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


Topic: How to specify number of months to Scroll
Posted By: joeliner
Subject: How to specify number of months to Scroll
Date Posted: 14 March 2007 at 1:33am
Hi team,

I have a datepicker on a form, with 3 columns, two rows. The form is resizable. The datepicker resizes on form resize. So the bigger the size the more months are viewable.

By default when you scroll to previous/next month, by default the count is one month.

How can i specify the number of months to scroll based on the number of months  in view? e.g if am viewing 12 months, number of scroll months should be twelve, and so on?

Thanks



Replies:
Posted By: sserge
Date Posted: 22 March 2007 at 6:56pm
Hmm...

For C++/MFC version of the control there is a property called MonthDelta.
This is a number of months to scroll.

We'll try to add the same option for ActiveX by the next release.

--
WBR,
Serge


Posted By: joeliner
Date Posted: 12 April 2007 at 5:58am
thats great.

i still got similar issue but i guess this can be done by code.

I am trying to achieve the same functionality on the calendar control in all the four views(dayview, weekview, workweekview and monthview)

I managed to do for dayview and monthview but wont get it right for weekview & workweek.

Am using this line of code:

CalendarControl.DayView.ShowDay CalendarControl.DayView.days(0).Date - 1(or +1)

any hint as to how i can achieve the same on workweek/Workweekview will be appreciated.

thanks in advance.




-------------
Product: Xtreme SuitePro (ActiveX) version 13.1
Platform: Windows XP SP 3
Language: Visual Basic 6 SP6



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