Print Page | Close Window

Disable Drag / Resize / Rename 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=7651
Printed Date: 07 October 2024 at 5:33am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Disable Drag / Resize / Rename Events
Posted By: syndalis
Subject: Disable Drag / Resize / Rename Events
Date Posted: 24 July 2007 at 4:08am
Is there any way to disable the ability to drag, rename or resize events on the dayview calendar events? The scheduling happens elsewhere in the system and is presented on the calendar, and I do not want people to have the ability to modify these things from the calendar.

PLEASE help.



Replies:
Posted By: dentor
Date Posted: 24 July 2007 at 5:42am
Hello,
 
You can test this solution from  https://forum.codejock.com/member_profile.asp?PF=1446&FID=36 - apuhjee  (Topic: Locked Event for not move), a few days ago.
 
In the CalendarControl event IsEditOperationDisabled, put 'DisableOperation=True'
 
 
Private Sub CalendarControl_IsEditOperationDisabled(ByVal OpParams As XtremeCalendarControl.CalendarEditOperationParameters, DisableOperation As Boolean)
 
                DisableOperation = True
 
End Sub
 


Posted By: syndalis
Date Posted: 26 July 2007 at 4:52pm
Funny thing is, Access 2003 doesn't recognize that as an event, despite my best efforts to figure out what is going on.

:bangs head against desk:

Procedure Declaration does not match description of Event or procedure having the same name.


Posted By: syndalis
Date Posted: 27 July 2007 at 11:50pm
Is there anyone who can help me with my issue regarding this not appearing as a valid event in Access 03?


Posted By: syndalis
Date Posted: 29 July 2007 at 12:29am
Okay, I am silly, and got this all worked out. Thanks for the help, and hopefully you will be able to help with my next question.


Posted By: DavidB
Date Posted: 09 October 2008 at 1:33am
I am having the same problem. How did you resolve this?
Thanks.


Posted By: Muesli
Date Posted: 05 December 2008 at 4:17pm
I have the same problem. Really no solution ??


Posted By: SuperMario
Date Posted: 10 December 2008 at 12:30pm
What is wrong with:

Private Sub CalendarControl1_IsEditOperationDisabled(ByVal OpParams As Object, bDisableOperation As Boolean)
    bDisableOperation = True
End Sub



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