Found the problem:
the control counts columns starting from 0 and I was using a 1 column example and trying to set the colour in column 1 when I should have been doing it in column 0.
>Hi,
>
>I've been using DBI's controls for a while now, quite successfully. But I'm stuck on trying to set the colour of a column in a ctMDay control.
>
>I've tried this command in the control's FirstDraw method, but I'm not getting any change in the control:
>
>this.AddColumnColor(8*60, 300, 9*60, 1, rgb(128, 0, 128))
>
>anybody familiar with ctMDay and how to set colours for various time slots?