![]() |
Custom Toolbar Button to Delete Events |
Post Reply
|
| Author | |
dangier
Groupie
Joined: 10 January 2007 Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Topic: Custom Toolbar Button to Delete EventsPosted: 10 January 2007 at 3:26pm |
|
I also want to delete an event from the calendar using a custom toolbar button. And I want to invoke the frmOccurrenceSeriesChooser.Show method if the event is a recurrence.
How can I delete a selected event from the calendar with a custom toolbar button?
I've tried modifying the existing mnuDeleteEvent_Click() event used by the right-mouse button, but I keep getting an "object not defined" error on the ContextEvent object.
|
|
![]() |
|
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 January 2007 at 5:26pm |
|
Yes, you should define context event before trying to delete it. I would suggest you to define it as a first selected event.
Example:
-- WBR, Serge |
|
![]() |
|
dangier
Groupie
Joined: 10 January 2007 Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 January 2007 at 5:39pm |
|
Thank you so much! This worked perfectly! BTW, I'm very impressed with the quick reply.
|
|
![]() |
|
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 |