How can I? |
Post Reply |
Author | |
moe188
Senior Member Joined: 27 March 2006 Status: Offline Points: 220 |
Post Options
Thanks(0)
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
|
|
moe188
Senior Member Joined: 27 March 2006 Status: Offline Points: 220 |
Post Options
Thanks(0)
|
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
|
|
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 |