Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Delete an occurence at initialisation
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Delete an occurence at initialisation

 Post Reply Post Reply
Author
Message
WaaZ View Drop Down
Senior Member
Senior Member


Joined: 31 January 2006
Location: United Kingdom
Status: Offline
Points: 103
Post Options Post Options   Thanks (0) Thanks(0)   Quote WaaZ Quote  Post ReplyReply Direct Link To This Post Topic: Delete an occurence at initialisation
    Posted: 06 February 2006 at 10:45am

Hello,

I have my calendar events loaded from the database. In a particular situation I have the following:

1) My master event

2) the recurrence pattern

3) An event which is an occurence I need to delete from the occurences. I held it as an exception with a seperate field in the database saying that it is to be deleted.

My question is.. how am I going to delete an occurence from the UI at loading time or initialisation time (before the user actually moves the mouse.. this means, there is no use of the hitTest object).

thnks

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: 06 February 2006 at 2:44pm
Hi,

You should already know how to create recurrence exceptions.

If so, the following piece of code will mark exception as deleted:

pExceptionEvent.RExceptionDeleted = True;


--
WBR,
Serge
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.184 seconds.