Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi SpinEdit und nach kommastelle (https://www.delphipraxis.net/59472-spinedit-und-nach-kommastelle.html)

Uwe 111 22. Dez 2005 22:21


SpinEdit und nach kommastelle
 
Hallo alle zusammen

Wie bekomme ich es am besten hin im SpinEdit eine nach kommastelle (z.b. 0,12)?

Vielen Dank im vorraus.
Uwe 111

fkerber 22. Dez 2005 22:48

Re: SpinEdit und nach kommastelle
 
Hi!

Dein Post ist für mich nicht verständlich... :cry:
Du sprichst von einer Nachkommastelle, gibst als Bsp. aber eine Zahl mit zwei an?!

Was willst du tun? Die Eingabe solcher Zahlen verhindern? Oder ganz was anderes?


Ciao Frederic

Uwe 111 22. Dez 2005 22:56

Re: SpinEdit und nach kommastelle
 
Hi

Ich möchte es so haben das es im SpinEdit mit 0,12 anfängt und wenn ich auf dem button klicke um 0,01 höher zählt.

Uwe 111

fkerber 22. Dez 2005 23:00

Re: SpinEdit und nach kommastelle
 
HI!

Da wirst du Pech haben. Die Property Value ist als Integer deklariert, also ganzzahlig. Da müsstest du schon direkt an der Quelle was ändern --> neue Kompo ableiten


Ciao Frederic


Alle Zeitangaben in WEZ +1. Es ist jetzt 07:20 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz