Multiple Ressouces/Clone Event
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=17791
Printed Date: 08 July 2024 at 2:35pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Multiple Ressouces/Clone Event
Posted By: mri0202
Subject: Multiple Ressouces/Clone Event
Date Posted: 18 January 2011 at 7:45am
Hello,
we are using the calendar ActiveX control. We are using customproperties
to save the Id's of persons who are involved in an event. To show the
events of all involved persons we are using different 'Schedule Ids'.
When we read the event we are cloning the event via 'cloneEvent'. and
are changing the 'ScheduleId'. The events collection contains all events
but only the first event is shown in the calendar. Is it a problem,
when all events contain the same EventID? When Yes, is there a chance to
solve the problem?
Thanks for your help
Regards
Manfred
|
Replies:
Posted By: dindo.lales
Date Posted: 24 January 2011 at 8:41pm
Please note that event id should be unique. You can use CreateEvent() method instead of the CloneEvent() so a new ID will be created for the cloned event. You can just assign your actual EventID to a custom property. As for my practice, I make sure that the ID property of the CalendarEvent object should be better assigned by codejock, rather than assigning it my own value (Using CreateEventEx Method). Hope this helps.
Regards, Dindo
------------- Product: Xtreme Calendar (ActiveX) version 13.4.0
Platform: Windows 7 Professional (32bit)
Language: Powerbuilder 11.5
|
|