Cancel writing in a particular resource |
Post Reply |
Author | |
WaaZ
Senior Member Joined: 31 January 2006 Location: United Kingdom Status: Offline Points: 103 |
Post Options
Thanks(0)
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 |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
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 |
|
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 |