Author: paulsaxelby | Posted on: 9/23/2009 7:40:36 AM | Views : 511

 Hi,
Can anyone help me with this problem please?
I'm having my first go at customising a control - and this problem has me stumped. I've searched in these forums & the net to no avail.
I've derived a class from the Calendar control and am trying to stop dates from other months from showing up.
The code that made sense to me...
.... day.IsSelectable = false; cell.ForeColor = cell.BackColor; .... ... just leaves the text grey. I tried all sorts of ways of hiding the text, but nothing works. What's really strange is that when I set the forecolour to say 'white', the greyed text looks slightly thinner, and if I change the background to a dark colour the grey text has a shadow of whatever colour I set the forecolour to.
I've spent ages trying to solve this problem with my code, but I now think it's a problem with IE. If I view the control in Chrome for ...

Go to the complete details ...