That works perfectly :)

Thanks Myles

Rob Martin
Software Engineer

phone +64 03 377 0495
fax   +64 03 377 0496
web www.chreos.com

Wild Software Ltd



Myles Penlington wrote:
Maybe,
The display format has 3 sections +ve, -ve and zero,

So something like
-#0.0;#0.0;0.0;

May work.
Myles.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Robert martin
Sent: Monday, 6 August 2007 02:12
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] Formatting Data aware values

Hi all

Heres a simple one for you. I am setting a fields 'DisplayFormat' property to ###,##0.00 which works great. However I would like to reverse the sing (i.e. display negative values without a sign and display positive fields as negatives. Is this possible?

There are losts of fields involved and it would be great if I could just

tweak the 'DisplayFormat' string :)

Ta
Rob


_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to