Re: Grids ?



"FrancoJommi" <franco.jommi@xxxxxx> schrieb im Newsbeitrag
news:455dffd9$0$7633$4fafbaef@xxxxxxxxxxxxxxxxxxxxxx
I need to show the monthly trend of something. Practically, I have rows of
twelve figures held on 2 or 3 arrays. I thought a good way to show it in 2
or 3 rows with 12 columns, each corresponding to one month.
What would be the best way to do it ? I looked into the Delphi components
and I found that perhaps I could use the stringGrid, but I didn't find a
way
to align the numbers as I want (at least in the center of the cell, rather
than in the top left). I also tried the DrawGrid and I found it is exactly
the same as the StringGrid. Am I wrong ?
Do you have any suggestion ?

Hi,

you can use StringGrid and need to draw your numbers by your own code
in the OnDrawCell event.

Regards
Heiner


.



Relevant Pages

  • Grids ?
    ... I need to show the monthly trend of something. ... twelve figures held on 2 or 3 arrays. ... and I found that perhaps I could use the stringGrid, but I didn't find a way ... Do you have any suggestion? ...
    (comp.lang.pascal.delphi.misc)
  • stringgrid and cell color.
    ... I'm trying to set the cell color on a stringgrid depends on the value. ... I've set this in the OnDrawCell event, but after finished to color all ... the OnDrawCell is called again and keep drawing the ...
    (borland.public.delphi.language.objectpascal)