Print Page | Close Window

Changing datepick colour

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=6992
Printed Date: 23 November 2024 at 6:26am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Changing datepick colour
Posted By: tejsingh
Subject: Changing datepick colour
Date 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



Replies:
Posted By: sserge
Date 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


Posted By: tejsingh
Date 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



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