Katalogerna
PlexityHide

Home 

Products 

Downloads 

Our Shop 

Support 

Contact 


phGantTimePackage FAQ 10564


I have a problem with setting the rowheight property of the grid. Please note that this article refers to the phGantTimePackage
Jump to article- 2006-05-11 21:58:00 - Email plexityHide

Question

I use your phGantTime package with Delphi 7.

I have a problem with setting the rowheight property of the grid. I cannot set this value less than 20 pixels. I tried to reduce the used font size too, but the rowheight is always 20. How can I resolve the problem? Our client wants to see more rows on the screen, without scrolling the gant.

For example:

phGant1.Grid.SetRowHeight(1, 15);

phGAnt.Grid.GetRowHeight(1) get 20

Thanks.

Answer

This has to do with the cellLayout that has a MinHeight property that is default set to 20. If your cell does not activly use CellLayouts the DefaultCellLayout.MinHeight is used.

Change it like this phGrid.DefaultContentLayoutProperty.MinHeight:=15.

 

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