![]() |
Making the Calendar Read Only |
Post Reply
|
| Author | |
samhow
Newbie
Joined: 10 September 2007 Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: Making the Calendar Read OnlyPosted: 10 September 2007 at 11:49pm |
|
Hi,
I am unable to find out how to make the calendar read only. I am sure there is a simple way to do this but I certainly can't work it out.
I wish to allow the user to navigate the attached date picker, hover over events and see toop tips but not type any text into the calendar, neither existing or new events.
I have tried using the IsEditOperationDisabled and BeforeEditOperation events to cancel the edit events but it's not working, these events seem to fire at odd times.
Help is appreciated.
Cheers |
|
![]() |
|
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 September 2007 at 5:17pm |
|
Complete editing disabling:
-- WBR, Serge |
|
![]() |
|
samhow
Newbie
Joined: 10 September 2007 Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 September 2007 at 6:13am |
|
Thanks for your help sserge, that worked for me.
Cheers |
|
![]() |
|
DavidB
Newbie
Joined: 09 October 2008 Location: Malaysia Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 October 2008 at 4:13am |
|
I added the code but the calendar can still be updated. What do I need to do do prevent modifications of the events?
|
|
![]() |
|
Ditte
Groupie
Joined: 28 October 2007 Status: Offline Points: 94 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 October 2008 at 8:09pm |
|
Hi,
I think you should find a way do disable the methods ShowNewEvent ShowEditEvent This will disable the built-in dialog. |
|
|
Regards
Dittmar Product: Xtreme SuitePro (ActiveX) 13.4.2 Platform: Win XP Language: Visual Dataflex 16.1 |
|
![]() |
|
olivvv59
Newbie
Joined: 30 April 2009 Status: Offline Points: 1 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 April 2009 at 5:37am |
|
Hi,
I just want to disable the keyboard use directly in my calendar.
I try your tip.But it disable the drag and drop method.
How Do I need to do?
Thank you for your help
Olivvv
EDIT : i find it --> calendarControl.Options.EnableInPlaceCreateEvent = .F.
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |