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

RemoveRecurrence problem

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


Joined: 21 January 2006
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post Topic: RemoveRecurrence problem
    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

 

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: 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
Back to Top
Matt View Drop Down
Newbie
Newbie


Joined: 21 January 2006
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post Posted: 25 January 2006 at 4:27pm

Serge -

Here is a word doc detailing the issue.

Thanks

Matt

 

2006-01-25_162719_serge.zip

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: 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
Back to Top
Matt View Drop Down
Newbie
Newbie


Joined: 21 January 2006
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post Posted: 30 January 2006 at 2:14pm

Thanks Serge!

 

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

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.172 seconds.