TiEditCustom.SelText

TiEditCustom

Specifies the selected portion of the edit control's text.

property SelText : String

Description

Read SelText to determine the value of the selected text. Set SelText to replace the selected text with a new string. If there is no selection, but the edit control has focus, set SelText to insert a new string into the text at the cursor.

Example

Delphi

Value := iComponent.SelText;

C++ Builder

Value = iComponent->SelText;

Contents | Index | Previous | Next