Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Cancel writing in a particular resource
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Cancel writing in a particular resource

 Post Reply Post Reply
Author
Message
WaaZ View Drop Down
Senior Member
Senior Member


Joined: 31 January 2006
Location: United Kingdom
Status: Offline
Points: 103
Post Options Post Options   Thanks (0) Thanks(0)   Quote WaaZ Quote  Post ReplyReply Direct Link To This Post Topic: Cancel writing in a particular resource
    Posted: 03 May 2006 at 1:53pm

I have a series of resources and in each one a schedule of the same name.

I want to restrict a user from writing into the cells of one resource, of which I have the ID and the ID of the schedule it contains.

Whenever the user start typing, an event is added.. I do not want him to even be able to write on the calendar for those resources whose ID are in the "list of restricted resources".

What conditions can be used to execute the e.bCancelOperation=true   ?

Thanks

WaaZ

Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 04 May 2006 at 8:14am
See new object in calendar - CalendarViewGroup.
This object represents a resorce in view hierarchy:
CalendarControl
   CalendarView
     CalendarViewDay
       CalendarViewGroup
         CalendarViewEvent
If CalendarViewEvent is specified for your operation, use CalendarViewEvent.ViewGroup.
Then use CalendarViewGroup.MultipleResources to determine for which schedule this group is.
When Operation is xtpCalendarEO_InPlaceCreateEven the current selection should be used.
In the next version there will be also a ClendarView.Selection property.

--
WBR,
Serge

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.125 seconds.