![]() |
RemoveRecurrence problem |
Post Reply ![]() |
Author | |
Matt ![]() Newbie ![]() Joined: 21 January 2006 Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() Posted: 24 January 2006 at 2:47pm |
Hello all - I already submitted this, but thought I'd post here as well. When removing a recurring event, such as: m_pMasterEvent.RemoveRecurrence All other events on the calendar "stretch" to the width of the page (for the month view anyway). It behaves this way in the sample calendar program, if you go create 2 events, make one recurring, then go back and hit delete recurrence you'll see what I'm talking about. Can anyone help?
Thanks Matt
|
|
![]() |
|
sserge ![]() Moderator Group ![]() Joined: 01 December 2004 Status: Offline Points: 1297 |
![]() ![]() ![]() ![]() ![]() |
Hi Matt,
I can't reproduce this issue. Can you provide more detailed steps? Depends on your code, but looks like you should have call RedrawControl() / Populate() in a partucular places (like after deleting). That could help. -- WBR, Serge |
|
![]() |
|
Matt ![]() Newbie ![]() Joined: 21 January 2006 Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() |
![]() |
|
sserge ![]() Moderator Group ![]() Joined: 01 December 2004 Status: Offline Points: 1297 |
![]() ![]() ![]() ![]() ![]() |
Start/End dates of the recurrence master event are corresponded to "first ocurrence start"/"last ocurrence end" (they are recalculated automatically when UpdateRecurrence is called).
The problem is that RemoveRecurrence is not changing event's Start/End. We will fix this in the next version. But(!) you can also do the same now - just set event's Start/End after call RemoveRecurrence in your code and the problem will be fixed. -- WBR, Serge |
|
![]() |
|
Matt ![]() Newbie ![]() Joined: 21 January 2006 Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() |
Thanks Serge!
(Do I get a coffee cup or something for this?) :) |
|
![]() |
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 |