Set to True when the text selection was made automatically.
Source position: stdctrls.pp line 838
protected property TCustomEdit.AutoSelected : Boolean |
AutoSelected is a Boolean property which indicates if the text selection in the control was made automatically after handling key press or mouse events.
AutoSelected is used in conjunction with the AutoSelect property which enables the capability. AutoSelected is not set to True when AutoSelect has not been enabled. AutoSelect is enabled by default in TCustomEdit.
AutoSelected is updated when the Enter (^M) key is handled for the control, or when a left mouse up event is handled for an already focused control. When AutoSelect is set to True, the SelectAll method is called to select all of the the text in the control. AutoSelected is set to True when SelText has the same value as the Text property.
AutoSelected is set to False when focus leaves the control.
|
Enables auto-selection of text when focused. |
|
|
Selects the entire text in the edit control. |
|
|
The currently selected text in the edit box for the control. |
|
|
Handles Key Up events forwarded from the LCL interface. |
|
|
Handles mouse up events for the control. |
|
|
Signals the OnEnter event handler, and selects the entire text when AutoSelect is True. |
|
|
Clears the value in AutoSelected when the control loses focus. |
CT Web help |
CodeTyphon Studio |