Print Page | Close Window

How can I?

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=8718
Printed Date: 07 October 2024 at 1:30pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How can I?
Posted By: moe188
Subject: How can I?
Date Posted: 08 November 2007 at 10:47am
Hello!
I do have a calendar with a multiple schedules (user 1, user 2 and user 3), and I wanted to display a confirmation message to the end user in he decides to move an event from user 3 to another user. ( I am using almost the same form that comes with calendarcontrol sample to add/edit event, and I prefered that this form will be loaded every time a user try to move an event from 1 user to another user within the calendar)
please tell me how?
Thank you



Replies:
Posted By: moe188
Date Posted: 09 November 2007 at 8:52am

Well

I got it, all I have to do is to use the following code:
 
Private Sub CalendarControl_EventChangedEx(ByVal pEvent As XtremeCalendarControl.CalendarEvent)
    Set pEvent = CalendarControl.DataProvider.GetEvent(pEvent.Id)
   
    ' pEvent Is Nothing for recurrence Ocurrence and Exception.
    ' See CalendarControl_PatternChanged for recurrence events changes.
    If Not pEvent Is Nothing Then
        frmEditEvent.ModifyEvent pEvent
        frmEditEvent.Show
        Exit Sub
    End If
End Sub



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