Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Set BusyStatus during InPlace CreateEvent
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Set BusyStatus during InPlace CreateEvent

 Post Reply Post Reply
Author
Message
dentor View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2005
Location: France
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote dentor Quote  Post ReplyReply Direct Link To This Post Topic: Set BusyStatus during InPlace CreateEvent
    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.
 
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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
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.219 seconds.