PlexityHide

Home 

Products 

Downloads 

Our Shop 

Support 

Contact 


phGantTimePackage FAQ 10348


Color and font of cells in phGantTimePackage grid Please note that this article refers to the phGantTimePackage
Jump to article- 2005-09-22 08:05:00 - Email plexityHide

Question

Using property TPhGantX.SetGridCellString(X, Y, sText).
With the above property, I am able to display the text (stext) on the left side.

Is there any way that I can change the color and font of this sText?

Answer

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:

BackColor 
EndEllipsis 
Font 
FontColor 
FrameBottom 
FrameColor 
FrameLeft 
FrameOptionsUse 
FrameRight 
FrameTop 
HorzAlignCenter 
HorzAlignRight 
MinHeight 
MinWidth 
UseFontInfo 
VertAlignCenter 
WrapTextAndFit

Note that you must set UseFontInfo=true for Font and FontColor to be applied.

 

Google
WWW plexityHide phGantTimePackage FAQ
Support

Support intro

Knowledgebase

FAQ phGantTimePackage

FAQ GTP.NET

FAQ GTP.NET.SL and WPF

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...




/" class="blk">PlexityHide.com
Grastensvagen 24, S-163 45 Spanga Sweden
E-mail: support@plexityhide.com