Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - How can I?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How can I?

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


Joined: 27 March 2006
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote moe188 Quote  Post ReplyReply Direct Link To This Post Topic: How can I?
    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
Back to Top
moe188 View Drop Down
Senior Member
Senior Member


Joined: 27 March 2006
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote moe188 Quote  Post ReplyReply Direct Link To This Post 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
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.109 seconds.