Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Draging event
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Draging event

 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: Draging event
    Posted: 31 July 2006 at 5:40pm
Cry
Hi,
How can I be able to retrieve the event info (StartTime, EndTime, Subject) when I drag the event to another day or another time?
Code/Sample, Please!!!
Thank you,
 
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: 02 August 2006 at 7:34am
Hi,

Look at our sample. Following piece of code disables dragging events between regular and "all day" areas:

Private Sub CalendarControl_BeforeEditOperation(ByVal OpParams As XtremeCalendarControl.CalendarEditOperationParameters, CancelOperation As Boolean)
    If OpParams.Operation = xtpCalendarEO_DragCopy Or _
        OpParams.Operation = xtpCalendarEO_DragMove _
    Then
        If OpParams.DraggingEvent.AllDayEvent <> OpParams.DraggingEventNew.AllDayEvent Then
            CancelOperation = True
        End If
    End If
End Sub


In the same way you can get an access to other dragging event (OpParams.DraggingEvent) properties like StartTime, EndTime, Subject, etc.

--
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.141 seconds.