Print Page | Close Window

Set BusyStatus during InPlace CreateEvent

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=4579
Printed Date: 28 September 2024 at 10:58am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Set BusyStatus during InPlace CreateEvent
Posted By: dentor
Subject: Set BusyStatus during InPlace CreateEvent
Date Posted: 12 July 2006 at 2:35am
Hello,
 
Is there a way to set BusyStatus (other than 'Busy Event Status'), when creating in place event ?
 
Perhaps, setting a default busystatus property ?
 
Thanks for your advice.
 



Replies:
Posted By: SuperMario
Date Posted: 12 July 2006 at 9:36am
So you mean when user starts to type with some times cells selected?

You might try this:

Private Sub CalendarControl_EventAdded(ByVal EventID As Long)
    Dim pEvent As CalendarEvent
    Set pEvent = CalendarControl.DataProvider.GetEvent(EventID)
   
    If Not pEvent Is Nothing Then
        pEvent.BusyStatus = xtpCalendarBusyStatusOutOfOffice
    End If
End Sub



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