Print Page | Close Window

cells coloured differently represent

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=7812
Printed Date: 07 October 2024 at 1:25pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: cells coloured differently represent
Posted By: Ingrid
Subject: cells coloured differently represent
Date Posted: 16 August 2007 at 8:40am
I wrote its own function for the cell representation.
But does not function.

Private Sub Besetzte_Zellen_anzeigen()
Dim CellParams As XtremeCalendarControl.CalendarDayViewCellParams

If TimeValue(CellParams.BeginTime) >= #8:00:00 AM# And _
        TimeValue(CellParams.BeginTime) < #12:00:00 PM# _
                        And Weekday(CellParams.BeginTime) <> 1 And _
                 Weekday(CellParams.BeginTime) <> 7 Then

        CellParams.BackgroundColor = RGB(255, 255, 213)
End If

Did that already try out someone and does know me a helping?

THANKS



Replies:
Posted By: Rafael
Date Posted: 26 November 2007 at 12:51pm
Do you still have an issue with this function? If so, when (or from where) do you call this function? To be usefull you should call Besetzte_Zellen_anzeigen from
CalendarControl_BeforeDrawDayViewCell(ByVal CellParams As XtremeCalendarControl.CalendarDayViewCellParams)
...and pass the CellParams to your Besetzte_Zellen_anzeigen function
 
So take out the Dim CellParams As XtremeCalendarControl.CalendarDayViewCellParams line and add it as a parameter to your function



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