Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DBI ctMDay.ocx
Message
From
16/12/2005 15:37:38
 
 
To
16/12/2005 13:40:21
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01078754
Message ID:
01078798
Views:
10
This message has been marked as the solution to the initial question of the thread.
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?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Reply
Map
View

Click here to load this message in the networking platform