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

Disable drag events

 Post Reply Post Reply
Author
Message
jiri View Drop Down
Newbie
Newbie


Joined: 31 October 2003
Location: Czech Republic
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote jiri Quote  Post ReplyReply Direct Link To This Post Topic: Disable drag events
    Posted: 16 March 2006 at 8:31am

Is it possible to disable moving (drag/drop)  events  in dayview.

thanks for answer

 

jiri

Back to Top
jiri View Drop Down
Newbie
Newbie


Joined: 31 October 2003
Location: Czech Republic
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote jiri Quote  Post ReplyReply Direct Link To This Post Posted: 16 March 2006 at 8:38am

I have solution:

 

Private Sub CalendarControl_BeforeEditOperation(ByVal OpParams As XtremeCalendarControl.CalendarEditOperationParameters, CancelOperation As Boolean)
   CancelOperation = True
End Sub

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: 16 March 2006 at 1:57pm
Hi,

This solution works, but if you want just to disable an operation, it is better to use IsEditOperationDisabled() instead of BeforeEditOperation.
 
--
WBR,
Serge
Back to Top
jiri View Drop Down
Newbie
Newbie


Joined: 31 October 2003
Location: Czech Republic
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote jiri Quote  Post ReplyReply Direct Link To This Post Posted: 17 March 2006 at 12:14am

Thanks Serge,

IsEditOperationDisabled + DisableOperation=true

works correct

Jiri

 

 

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