phGantTimePackage FAQ 10348
Color and font of cells in phGantTimePackage grid Please note that this article refers to the phGantTimePackage
Using property TPhGantX.SetGridCellString(X, Y, sText).
Is there any way that I can change the color and font of this sText?
Yes. Each cell can be assigned a IphGridLayoutPropX. You can choose to set the same layout on all cells, unique layouts to all cells or anything in between.
Use IphGantX3.GetGridCellLayoutPropIndex, and IphGantX3.SetGridCellLayoutPropIndex to control each cell.
Once you have the hang of that you can set/control the following properties:
Note that you must set UseFontInfo=true for Font and FontColor to be applied.
"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%"
|(C) 1999-2010 PlexityHide.com
Grastensvagen 24, S-163 45 Spanga Sweden