Print Page | Close Window

Calendar Options

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=9025
Printed Date: 27 November 2024 at 5:38am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Calendar Options
Posted By: moe188
Subject: Calendar Options
Date Posted: 06 December 2007 at 2:09pm
Hello,
the calendarcontrol sample have the calendar options with the starting and ending time (office who will be open for straight 8 or more hours), how about the office that will be open from certain time (8AM) then closed at (130PM), the it will be open from (3PM to 830PM).
is there any way to add in this calendar option to add 2 more boxes that will let the user to change the hours everytime he load the option window.?
I know how to do using code, but I wanted to be added in the option window.
Thank you,
 
Code:
 
Private Sub CalendarControl_BeforeDrawDayViewCell(ByVal CellParams As XtremeCalendarControl.CalendarDayViewCellParams)
   
    If TimeValue(CellParams.BeginTime) >= # 1:30:00 PM # And TimeValue(CellParams.BeginTime) < # 3:00:00 PM # _
       And Weekday(CellParams.BeginTime) <> 1 And Weekday(CellParams.BeginTime) <> 7 Then
        CellParams.BackgroundColor = RGB(255, 244, 188)
    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