FMX.Edit.TCustomEdit.HasSelection
Delphi
function HasSelection: Boolean;
C++
bool __fastcall HasSelection();
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | FMX.Edit.pas FMX.Edit.hpp |
FMX.Edit | TCustomEdit |
Description
Returns true if any selection exists in the edit box, false otherwise.
Use HasSelection in order to check if any part of the text is selected.