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


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

Re: Grid - Zahlen dynamisch formatieren

From Nicolas Bronke <bronke@t-online.de>
Newsgroups comp.lang.pascal.delphi.misc
Subject Re: Grid - Zahlen dynamisch formatieren
Date 2013-06-04 09:02 +0200
Message-ID <b15hngFrvfnU1@mid.individual.net> (permalink)
References <b0bvrdF6rshU1@mid.individual.net> <o8qdnb6ve9GgPTTMnZ2dnUVZ7rydnZ2d@bt.com>

Show all headers | 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