Print Page | Close Window

RemoveRecurrence problem

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=3553
Printed Date: 24 November 2024 at 8:19am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: RemoveRecurrence problem
Posted By: Matt
Subject: RemoveRecurrence problem
Date 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

 




Replies:
Posted By: sserge
Date Posted: 25 January 2006 at 8:14am
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


Posted By: Matt
Date Posted: 25 January 2006 at 4:27pm

Serge -

Here is a word doc detailing the issue.

Thanks

Matt

 

https://forum.codejock.com/uploads/Matt/2006-01-25_162719_serge.zip - 2006-01-25_162719_serge.zip



Posted By: sserge
Date Posted: 28 January 2006 at 7:41am
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


Posted By: Matt
Date Posted: 30 January 2006 at 2:14pm

Thanks Serge!

 

(Do I get a coffee cup or something for this?) :)




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net