Katalogerna
PlexityHide

Home 

Products 

Downloads 

Our Shop 

Support 

Contact 


phGantTimePackage FAQ 10536


I need is to be able to display various periods of calendar with several shifts (time periods) in a day... Please note that this article refers to the phGantTimePackage
Jump to article- 2006-04-23 10:21:00 - Email plexityHide

Question

Hello,

My question is the same that was asked in 'Q10066 - FAQ: I need is to be able to display various periods of calendar with several shifts (time periods) in a day..'.

My problem is that you posted a sample for GTP.Net saying that it would be the same for phGantTimePackage, but I can't find the OnDateScalerPaintBackground or the OnTimeItemAreaScalerPaintBackground events in the phGantTime OCX.

Which event should I override to be able to paint different weekdays with different colors in the Gantt?

Thank you very much,

Answer

In phGantTimePackage you have these events in the VCL version:

TphGant.OnUserDrawBackground
TphDateScaler.OnUserDrawBackground

In the OCX version the DateScaler OnUserDrawBackground is not currently available (if you need it email support and we can expose it) but you have the phGantX.OnGantAreaDrawBackground to handle the background in the TimeItemArea.

 

 

Google
WWW plexityHide phGantTimePackage FAQ
Support

Support intro

Knowledgebase

FAQ phGantTimePackage

FAQ GTP.NET

FAQ general

Testimonials

"This is too GREAT. I must say you have strong support and really good programmers at your place. Your entire team is good. Just Fantastic! – 100%"
Gaurav Patole,
WebTechDevelopers
More testimonials...