Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - New prpperty ReadOnlyMode in Calendar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

New prpperty ReadOnlyMode in Calendar

 Post Reply Post Reply
Author
Message
Ditte View Drop Down
Groupie
Groupie


Joined: 28 October 2007
Status: Offline
Points: 94
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ditte Quote  Post ReplyReply Direct Link To This Post Topic: New prpperty ReadOnlyMode in Calendar
    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
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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>"
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Ditte View Drop Down
Groupie
Groupie


Joined: 28 October 2007
Status: Offline
Points: 94
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ditte Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 25 July 2009 at 1:24pm
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
Back to Top
Ditte View Drop Down
Groupie
Groupie


Joined: 28 October 2007
Status: Offline
Points: 94
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ditte Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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,....
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.