FMX.Edit.TCustomEdit.HasSelection

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also