[Overview][Classes][Procedures and functions][Index] | Reference for unit 'Spin' (#lcl)

# TCustomFloatSpinEdit

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

## Declaration

Source position: spin.pp line 38

`type TCustomFloatSpinEdit = class(TCustomEdit)`
``
`class procedure WSRegisterClass; override;` |  | WSRegisterClass - Register this Class for the current Widget Set
`protected`
`function RealGetText; override;` |  |
`procedure TextChanged; override;` |  |
`procedure SetDecimals();` |  |
`function GetValue;` |  |
`procedure SetValue();` |  |
`procedure SetIncrement();` |  |
`procedure InitializeWnd; override;` |  |
`procedure FinalizeWnd; override;` |  |
`procedure Loaded; override;` |  |
`procedure KeyPress(); override;`
`protected`
`class function GetControlClassDefaultSize; override;`
`public`
`constructor Create(); override;` |  |
`function GetLimitedValue();` |  | Limits the passed value according to spin edit minimum and maximum.
`function ValueToStr();` |  | Converts the passed value to string according to spin edit settings.
`function StrToValue();` |  | Converts the passed string to value according to spin edit settings.
`property DecimalPlaces: Integer; [rw]` |  | Number of the decimal places shown in spin edit.
`property Increment: Double; [rw]` |  | An amount to be incremented/decremented to the value when spin edit up/down arrow button is pushed.
`property MinValue: Double; [rw]` |  | Minimal value of spin edit.
`property MaxValue: Double; [rw]` |  | Maximal value of spin edit.
`property Value: Double; [rw]` |  | Value of spin edit.
`property ValueEmpty: Boolean; [rw]` |  | If the Value property is assigned.
`end;`

## Inheritance

`TCustomFloatSpinEdit` |  |
`TCustomEdit` |  | TCustomEdit : the base type from which the TEdit Box is derived.
`TWinControl`
`TControl`
`TLCLComponent` |  | TLCLComponent - base class for LCL components
`TComponent,IUnknown,IInterfaceComponentReference`
`TPersistent`
`TObject`

The latest version of this document can be found at lazarus-ccr.sourceforge.net .