Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Changing datepick colour
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Changing datepick colour

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


Joined: 28 March 2007
Location: United Kingdom
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote tejsingh Quote  Post ReplyReply Direct Link To This Post Topic: Changing datepick colour
    Posted: 26 April 2007 at 11:18am
Hi

I am trying to change the colour of the datepick day which is the same as the colour of the event on the same day

I have a procedure called DatePick_DayMetrics which currently highlights weekends.

But now i want to do this:

when the calendar is opened it will already have some events. When these events are found it gets the rgb value which i can do easily and then pass these into the procedure.

The procedure will run the daymetrics proc and check until the same date is found. Once found it will then change the colour!

sounds simple but as i am using \Progress 4gl and pass in the date and rgb value. I presume the datepick_daymetrics runs for all visibile dates?

any advise would be great

cheers
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 12 May 2007 at 8:53am
Originally posted by tejsingh tejsingh wrote:

I presume the datepick_daymetrics runs for all visibile dates?


Yes, just before it is going to be drawn.

Have you succeeded in implementing this?

--
WBR,
Serge
Back to Top
tejsingh View Drop Down
Newbie
Newbie


Joined: 28 March 2007
Location: United Kingdom
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote tejsingh Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 2007 at 6:45am
Hi

Yes i have implemented part of this. i got the weekends highlighted in a different colour.

TJ
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.