Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - CalendarViewEvents
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CalendarViewEvents

 Post Reply Post Reply
Author
Message
xmastree View Drop Down
Newbie
Newbie


Joined: 08 November 2005
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote xmastree Quote  Post ReplyReply Direct Link To This Post Topic: CalendarViewEvents
    Posted: 09 November 2005 at 1:30pm

Hi,

do you have any code snippet that you can post to  show how to retrieve

the event collection for a particular view.

ie all the events held in the calender whwen in day,week or month view.

I have looked at the object model  and calendarviewevents looks like the

candidate, but the only interface into the calendar I can find is via

GetSelectedEvents.

Calendar.ActiveView.GetSelectedEvents

but this only returns user selected events is there any way to return the

entire event collection for a view?. 

The documented help suggests this is possible.

thanks in advance

 

 

 

 

Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 10 November 2005 at 3:39am
Hi,

There are no single collection of events for the complete view. Instead you can retrieve separate events collections for each day in the view.

See method:
    CalendarDataProvider.RetrieveDayEven ts

If you need just to apply something for them -- iterate days, retrieve and iterate day events and apply an action there. However, if you need to build a single events collection for a view - you should also keep in mind that multiday events are possible and they will be repeated for each day where such event exists. This means that you have to filter repeated events for a single collection. Also you should know how would yo like to proceed recurrence events for that period...

--
WBR,
Serge
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.125 seconds.