Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - cells coloured differently represent
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

cells coloured differently represent

 Post Reply Post Reply
Author
Message
Ingrid View Drop Down
Newbie
Newbie


Joined: 20 December 2006
Location: United Kingdom
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingrid Quote  Post ReplyReply Direct Link To This Post Topic: cells coloured differently represent
    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
Back to Top
Rafael View Drop Down
Newbie
Newbie
Avatar

Joined: 26 November 2007
Location: United States
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rafael Quote  Post ReplyReply Direct Link To This Post 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
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.172 seconds.