[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TCustomEdit.SelText

The selected text in the edit box.

Declaration

Source position: stdctrls.pp line 821

public property TCustomEdit.SelText : string
  read GetSelText
  write SetSelText;

Description

Assign an new string to replace the selected text.

See also

TCustomEdit.SelLength

  

The number of currently selected characters.

TCustomEdit.SelStart

  

The zero-based index of the first character in the selection.

TCustomComboBox.SelStart

  

The zero-based UTF-8 index of the begin of the selection in the edit box.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.