TCOLORCALANDER

A Delphi Component By Travis Reno

reno@zeus.towson.edu


This is a delphi component based on TCalendar.  It adds two functions. 

SetDateColor is declard as follows:

Procedure TColorCalendar.SetDateColor(Adate:TDateTime;
                                   Color : TColor);

When this procedure is called, the square assosciated with the date that was passed is
changed to the color that was passed.  If the date that was passed is outside the range
of possible dates for the current calendar, the EDateRangeError exception is raised.  Be 
sure to check for this in your code.

The other procedure is ResetColors.  It is declared as follows:


Procedure TColorCalendar.ResetColors;

When this procedure is called, the background color of all the cells is reset to the
backgroud color of the calendar.


Installation:
	Do I really have to explain how to install a component?
	
	The source is included so you can change the register procedure to put this
	component on any page of your toolbar that you want.




Filelist:
colrcal.pas	//component source
colrcal.dcu	//component compiled unit
colrcal.dcr	//component resources

readme.txt  	//this document


	//Sample project
main.dfm
caltest.dpr
caltest.dsk
main.pas
caltest.res

Send questions, comments, and ideas for improvement to
	reno@zeus.towson.edu
