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

# TCustomFloatSpinEdit.EditorEnabled

Indicates whether the value for the control can be entered directly into its edit box.

## Declaration

Source position: spin.pp line 79

`public property TCustomFloatSpinEdit.EditorEnabled : Boolean read FEditorEnabled write SetEditorEnabled default True;`

## Description

EditorEnabled is a Boolean property which indicates if the Value for the control can be input directly. When set to True, the edit box is enabled. When set To False, only the up and down arrow buttons can be used to change the Value for the control.

The default value for the property is True. Changing the value for the property causes the widgetset class to be notified when the Handle for the control has been allocated.

EditorEnabled is independent of the settings in the ReadOnly and Enabled properties. When ReadOnly is set to True, the Value for the control cannot be modified using either the edit box or the up / down buttons. When Enabled is set to False, the control cannot be given focus or modified.

Remark: | Disabling the edit box requires support from the underlying widgetset class. It may not be supported or implemented for all widgetsets / platforms. In the current LCL version, it is implemented for the Windows and Windows CE platforms.

## Version info

Added in LCL version 2.1.