![]() |
AW: ThousansSeparator - nur ein Mythos?
Hallo,
das Edit1 müsste so sein
Delphi-Quellcode:
Edit1.Text:=[COLOR="red"][U]Format[[/U]/COLOR]('JD = %6.n',[JD], AFormatSettings);
wegen der lesbarkeit
Delphi-Quellcode:
Edit1.Text:=Format ('JD = %6.n',[JD], AFormatSettings);
Gruß |
AW: ThousansSeparator - nur ein Mythos?
Hallo TKanne,
es hat leider keine Auswirkung. |
AW: ThousansSeparator - nur ein Mythos?
Wie schon erwähnt, muss das AFormatSettings hinter die eckige Klammer und nicht darein.
|
AW: ThousansSeparator - nur ein Mythos?
Zitat:
Was wird hier für ein Edit verwendet, welches so formatiert werden kann?
Delphi-Quellcode:
Edit1.Text:=[COLOR="red"][U]Format[[/U]/COLOR]('JD = %.6n',[JD, AFormatSettings]);
|
AW: ThousansSeparator - nur ein Mythos?
Zitat:
|
AW: ThousandSeparator - nur ein Mythos?
Hallo Freunde,
ich hatte Fett auf der Brille und habe den AFormatSettings-Parameter in die eckige Klammer gesetzt und damit den Format-Fehler provoziert. Der komplizierte Ausdruck für Edit1.Text war ein Versuch dafür, das das "Format" rot und unterstrichen hier im Forum dargestellt wird. Aber Forum macht das nicht. Im Programmcode ist davon nichts enthalten. Vielen Dank, das Thema kann als erledigt betrachtet werden. Kurt |
Alle Zeitangaben in WEZ +1. Es ist jetzt 06:47 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz