FMX.Edit.TCustomEdit.SelectWord
Delphi
procedure SelectWord;
C++
void __fastcall SelectWord();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Edit.pas FMX.Edit.hpp |
FMX.Edit | TCustomEdit |
Description
SelectWord assigns to the FMX.Edit.TCustomEdit.SelLength property the length of the first word found if this exists.
If several words exist in the text, the procedure SelectWord checks if the cursor position is the start position of a word. If not, it searches for the closest word from the left of cursor position.