delphicontrols

Is There a TSpinEdit for Floats in Delphi?


Is there really not a TSpinEdit control for floats in Delphi? It looks like there are third party components that supply a control that will work.

How do you implement TSpinEdit for floats? I've been creating my own with a TEDit field and a TSpinButton positioned right beside it but it seems like there should be a better way.


Solution

  • TJvSpinEdit is a part of the JEDI Visual Component Library. As far as I know it has a property called ValueType which you can set to vtFloat.