This component was designed to add color highlight capability to the calendar component distributed with Delphi as a sample.
To use it, drop it on your form and set the runtime DayColor property to the desired color indexed by the day of the month (e.g. to have the 4th day of the month be red "Calendar.DayColor[4] := clRed")
You can also set the brush style in a similar manner (Calendar.DayBrushStyle[4] := bsSolid)
To install the component load the source and choose the Install menu item under Component. The code as supplied puts the component on a palette tab called "My Controls" if you wish to have it go somewhere else, change the register statement in the code.
The zip file includes a sample project that uses the calendar. The component has only been used in one program other than this sample project, so it is not extensively tested.
The component is free but you may not sell it (it's not that spiffy anyway).
Feel free to improve the component, but please let me know how you improved it. I found some odd things while writing and testing. The main thing I don't understand is the background color used when a FillRect is done after setting the brush style to other than bsSolid. Delphi seems to pick what it feels is a nice complement to the foreground brush color for the background color.
There must be an inherited property or method to set the background but I can't find it. I understand more than I know about this, or possibly the other way round. If you know how to change this background, please drop me a line.