Print Page | Close Window

Start/End date of calendar view

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


Topic: Start/End date of calendar view
Posted By: skiman
Subject: Start/End date of calendar view
Date Posted: 30 December 2008 at 3:00am
Hi,
 
I want to determine the start and end date of the current Calendar view. I want to 'populate' all the events for the current view.
 
I'm working with a custom data provider and since I have a lot of events, it takes too long to populate all the events in the database.
 
I would like to use the 'viewchanged' event to refresh the events between two dates.
 
I don't find how to determine the start and end date of the current view. Is this possible?
 
Regards,
Chris Andries.


-------------
ABO Service



Replies:
Posted By: SuperMario
Date Posted: 05 January 2009 at 9:24am
Debug.Print "First Day: " & CalendarControl.ActiveView.Days(0).Date
Debug.Print "Last Day: " & CalendarControl.ActiveView.Days(CalendarControl.ActiveView.DaysCount - 1).Date


Posted By: Auge_Ohr
Date Posted: 05 January 2009 at 11:21am
hi Chris,

funny i ask the same before and got no Answer. Did my last Sample work for you ?


-------------
greetings by OHR
Jimmy


Posted By: skiman
Date Posted: 05 January 2009 at 2:08pm
Hi Jimmy,
 
Yes, your last sample was working. Haven't you seen my mail?
 
Regards,
Chris.


-------------
ABO Service


Posted By: skiman
Date Posted: 05 January 2009 at 2:36pm
Hi,
 
Yes, this is working as expected.
 
Regards,
Chris


-------------
ABO Service



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