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

# TFloatSpinEdit.AutoSelected

Indicates whether the selected content in the control has been automatically selected.

## Declaration

Source position: spin.pp line 91

`public property TFloatSpinEdit.AutoSelected : Boolean;`

## Description

AutoSelected is updated in methods which handle focus change actions for the control, including: MouseDown, MouseUp, DoEnter, and DoExit. In general, it indicates when the Text and SelText properties have the same value.

The visibility for the property is public, and does not appear in the Object Inspector at design-time. It is, however, available in code at run-time. It is not declared as a read-only property, but there is no obvious reason to assign a value that does not result from calling the SelectAll method.

Use AutoSelect to control whether auto-selection is enabled for the control.

## See also

TCustomEdit.AutoSelected |  | Set to True when the text selection was made automatically.