Print Page | Close Window

New prpperty ReadOnlyMode in Calendar

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=14801
Printed Date: 20 July 2025 at 11:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: New prpperty ReadOnlyMode in Calendar
Posted By: Ditte
Subject: New prpperty ReadOnlyMode in Calendar
Date Posted: 23 July 2009 at 3:34am
Hi,

there is a new ReadOnlyMode property in the calendar. Is it true, the user can not make any changes more.

Is there a event what I can use to give the user more information or what I can use to go to other programpart if the user click on a event inside the calendar?
The OnComDblClick also donīt work any more.


-------------
Regards



Dittmar



Product: Xtreme SuitePro (ActiveX) 13.4.2

Platform: Win XP

Language: Visual Dataflex 16.1



Replies:
Posted By: mdoubson
Date Posted: 24 July 2009 at 8:16am
You can use custom tooltip: (tags and fillers in any order) e.g.
    CalendarControl.CustomFormat4Tooltip = " My subject = <SUBJ> @ <TIME> in <LOC> with <BODY>"


-------------
Mark Doubson, Ph.D.


Posted By: mdoubson
Date Posted: 24 July 2009 at 1:39pm
You can also make your app more general if also use DataProvider.OwnershipMode = True,
create a few Schedules with names of team members and one with name Public.
 
Each app can have string OwnerUser.
If it match to Schedule name - this user will have write-rights for his schedules.
Everybody also have such rights on Public schedule but read-only rights for other users ones.
 
This is short list of this mode.
Give me some feedback please -
e.g. we can change some behaviour and allow call Event Editor for non-owner events in read-only mode - without saving modifications


-------------
Mark Doubson, Ph.D.


Posted By: Ditte
Date Posted: 25 July 2009 at 1:17pm
Hi Mark,

<custom tooltip>
itīs a option. But <body> seems to work. I get only "." for the body as result.


-------------
Regards



Dittmar



Product: Xtreme SuitePro (ActiveX) 13.4.2

Platform: Win XP

Language: Visual Dataflex 16.1


Posted By: mdoubson
Date Posted: 25 July 2009 at 1:24pm
May be you need to get upgrade: https://forum.codejock.com/uploads/DemoVersion/CalendarControlUpdated.rar - https://forum.codejock.com/uploads/DemoVersion/CalendarControlUpdated.rar
unrar where official 13.1 located rename as official - no need to registrate

-------------
Mark Doubson, Ph.D.


Posted By: Ditte
Date Posted: 25 July 2009 at 1:36pm
Hi Mark,

<DataProvider.OwnershipMode = True>

the ownershipmode brings me not further.

I use (custom data provider) and fill the calandar. Now I like to get some more informations by click on a event.
If I use the readonlymode all the methods to get out, which record of my database I use, donīt work (like DblClick etc.).
The user should not change events in the calandar (not in the programpart Iīm working at time).He should make all changes edit, delete etc. in a other program.

Now I have make a own readonlymode by using a property in all functions and procedure to catch it.
  


-------------
Regards



Dittmar



Product: Xtreme SuitePro (ActiveX) 13.4.2

Platform: Win XP

Language: Visual Dataflex 16.1


Posted By: mdoubson
Date Posted: 25 July 2009 at 1:38pm
In CustomProvider case you need your own programming - I don't cover this case. You can try to play with Ownership mode under standard provider cases - XML, Access,....

-------------
Mark Doubson, Ph.D.



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