Different number of resources |
Post Reply |
Author | |
RK007
Newbie Joined: 18 June 2010 Location: Netherlands Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 25 June 2010 at 10:40am |
Version in use: ActiveX CalendarControl 13.4.0
I have a Calendar that can show the appointments of different users. From a list I can select the users for whom to show the Calendar. The appointments are added with the CalendarResourcesManager. When the users are changed, first all existing resources are removed before adding the appointments for the newly selected users. Everything seems to be working fine, but when I remove all the resources I get different results for the number of resources. I remove the resources with a construction like I found somewhere on the forum: Do Until g_DataResourcesMan.ResourcesCount = 0 g_DataResourcesMan.RemoveResource (0) Loop Besides this part I also remove all schedules manually. When I try the receive the number of resources with the CalendarResourcesManager the resourcescount tells me that I have 0 resources. When I retrieve this information via DataProvider.multipleresources.count it tells me that there is still 1 resource. Although the last one is actually true (I can get information from one of my users with HitTest), I should have expected that the result should be 0 in both cases. Anybody any idea why I see this difference? |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |