10198 : How can the font color of the GantTime objects be set?

Question

How can the font color of the GantTime objects be set?

Answer

– phGantX.TimeItemTextFont1 to …3 and phGantX.TimeItemTextFont1Color to
…3Color
Define these fonts and then use them in this method:
IphDataEntity_GantTime2.TimeItemsTextSet
index integer
Value String
X integer
Y integer
FontIndex integer <—- HERE

Description
Sets text on a single time item.

Leave a Reply