Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.pascal.delphi.misc > #502

Re: Grid - Zahlen dynamisch formatieren

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Nicolas Bronke <bronke@t-online.de>
Newsgroups comp.lang.pascal.delphi.misc
Subject Re: Grid - Zahlen dynamisch formatieren
Date Tue, 04 Jun 2013 09:02:07 +0200
Lines 13
Message-ID <b15hngFrvfnU1@mid.individual.net> (permalink)
References <b0bvrdF6rshU1@mid.individual.net> <o8qdnb6ve9GgPTTMnZ2dnUVZ7rydnZ2d@bt.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net yejuL0/cx2VYMUYvg+PhUgpDXjkYpJwe6jOMaXwmL1v+D6KcYD
Cancel-Lock sha1:aVjRQSaptwEKtOI0Idn7JoNMlD4=
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
In-Reply-To <o8qdnb6ve9GgPTTMnZ2dnUVZ7rydnZ2d@bt.com>
Xref csiph.com comp.lang.pascal.delphi.misc:502

Show key headers only | View raw


> To get access to the TFloatField properties you must typecast Field to a
> TFloatField. But to protect your program against the faint possibility that
> Field is not a TFloatField you should code :
>
> if (Field is TFloatField) then
>    TFloatField(Field).DisplayFormat := '#,##0.00';
>

Thank you. I solved meanwhile like you escribed it.
Regards
Nicolas

Back to comp.lang.pascal.delphi.misc | Previous | NextPrevious in thread | Find similar


Thread

Grid - Zahlen dynamisch formatieren Nicolas Bronke <bronke@t-online.de> - 2013-05-25 16:23 +0200
  Re: Grid - Zahlen dynamisch formatieren "Alan Lloyd" <alanglloyd@NotThisBitbtinternet.com> - 2013-06-01 08:18 +0100
    Re: Grid - Zahlen dynamisch formatieren Nicolas Bronke <bronke@t-online.de> - 2013-06-04 09:02 +0200

csiph-web