Re: Grids ?



Yes,thanks I am trying, but while I found how to change colors, I cannot
find how to align my strings (which in fact are numbers). Is there some API
call or something else ?

"Heinrich Wolf" <invalid@xxxxxxxxxxxxxxx> ha scritto nel messaggio
news:ejl52k$oe0$1@xxxxxxxxxxxxxxxxxxxxx
"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

  • Formatted printing
    ... I am having trouble printing a table of values. ... The problem is that the table may contain anything from 2 character ... i am unable to align them properly. ...
    (comp.lang.perl.misc)
  • Re: make buildkernel error
    ... cc1: error: unrecognized command line option ... What does FreeBSD mean by "Do not align long strings specially"? ...
    (freebsd-questions)
  • Re: Display TSV files with columns aligned
    ... K> Align is a general-purpose text filter tool that helps vertically align ... Tom Worster said: ... T> really long strings in it. ... T> can't figure out the script and how to modify it to add this trick. ...
    (freebsd-questions)
  • Re: How to align text for combo box
    ... I am using .NET 2005 MFC. ... Which function I should use to align text for combo box programmbly. ... make the listbox portion owner-drawn and draw the strings yourself. ...
    (microsoft.public.vc.mfc)