Print Page | Close Window

Disable drag events

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=3794
Printed Date: 22 November 2024 at 3:58am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Disable drag events
Posted By: jiri
Subject: Disable drag events
Date Posted: 16 March 2006 at 8:31am

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

thanks for answer

 

jiri




Replies:
Posted By: jiri
Date 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



Posted By: sserge
Date 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


Posted By: jiri
Date Posted: 17 March 2006 at 12:14am

Thanks Serge,

IsEditOperationDisabled + DisableOperation=true

works correct

Jiri

 

 




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