Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Start/End date of calendar view
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Start/End date of calendar view

 Post Reply Post Reply
Author
Message
skiman View Drop Down
Groupie
Groupie


Joined: 20 December 2008
Location: Belgium
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote skiman Quote  Post ReplyReply Direct Link To This Post Topic: Start/End date of calendar view
    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
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Auge_Ohr View Drop Down
Groupie
Groupie


Joined: 20 December 2008
Status: Offline
Points: 65
Post Options Post Options   Thanks (0) Thanks(0)   Quote Auge_Ohr Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
skiman View Drop Down
Groupie
Groupie


Joined: 20 December 2008
Location: Belgium
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote skiman Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
skiman View Drop Down
Groupie
Groupie


Joined: 20 December 2008
Location: Belgium
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote skiman Quote  Post ReplyReply Direct Link To This Post Posted: 05 January 2009 at 2:36pm
Hi,
 
Yes, this is working as expected.
 
Regards,
Chris
ABO Service
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.172 seconds.