New prpperty ReadOnlyMode in Calendar |
Post Reply |
Author | |
Ditte
Groupie Joined: 28 October 2007 Status: Offline Points: 94 |
Post Options
Thanks(0)
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 |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
You can use custom tooltip: (tags and fillers in any order) e.g.
CalendarControl.CustomFormat4Tooltip = " My subject = <SUBJ> @ <TIME> in <LOC> with <BODY>"
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
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
|
|
Ditte
Groupie Joined: 28 October 2007 Status: Offline Points: 94 |
Post Options
Thanks(0)
|
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 |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
May be you need to get upgrade: https://forum.codejock.com/uploads/DemoVersion/CalendarControlUpdated.rar
unrar where official 13.1 located rename as official - no need to registrate |
|
Ditte
Groupie Joined: 28 October 2007 Status: Offline Points: 94 |
Post Options
Thanks(0)
|
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 |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
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,....
|
|
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 |