Re: Formating DBGrid

"Eduardo Meyer" <[email protected]>
Newsgroups gmane.comp.lang.delphi.programming
Message-ID <000c01c34fbc$0f919170$1b0d0a0a@rospinf14>
Hey Barry,

    Thanks for the answer, however I don't want to add a TField.
I mean, Is it possible to format the text without a TField?

Imagine a situation when we need to change the size of a field.
Is it necessary to change every single form in order to make that run?

If it isn't clear yet I can give you more details.

Thanks a lot,


Eduardo Meyer



----- Original Message ----- 
  From: Barry Pryde 
  To: '[email protected]' 
  Sent: Monday, July 21, 2003 10:20 AM
  Subject: RE: [Delphi] Formating DBGrid


  You could use DisplayText property in TField. Using StrFmt you can specify 
  Decimal Places.

  On Monday, July 21, 2003 8:27 AM, Eduardo Meyer 
  [SMTP:[email protected]] wrote:
  > People,
  >
  >     Do you guys know how can I show a decimal number in a DBGrid?
  > I tried to format thru TField and that works but I would like to know if 
  you people have another idea cuz if my lovely DBA changes the type of the 
  field the program won't work very well.
  >
  >
  > Thanks in advanced.
  > Best regards!
  >
  >
  > Eduardo Meyer
  >
  > [Non-text portions of this message have been removed]
  >
  >
  >
  > CodeCoffer - new Delphi code protection Tool!
  > http://www.delphicollection.com/public/CodeCoffer.htm
  > ---------------------------------------------------------------
  > Unsubscribe:[email protected]
  > List owner:[email protected]
  > ---------------------------------------------------------------
  >
  > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
  > 

        Yahoo! Groups Sponsor 
              ADVERTISEMENT
             
       
       

  CodeCoffer - new Delphi code protection Tool!
  http://www.delphicollection.com/public/CodeCoffer.htm
  ---------------------------------------------------------------
  Unsubscribe:[email protected]
  List owner:[email protected]
  --------------------------------------------------------------- 

  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


[Non-text portions of this message have been removed]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/sOykFB/k9VGAA/ySSFAA/i7folB/TM
---------------------------------------------------------------------~->

CodeCoffer - new Delphi code protection Tool!
http://www.delphicollection.com/public/CodeCoffer.htm
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
--------------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.