ICustomEdit.SelText

Fore Syntax

SelText: String;

Fore.NET Syntax

SelText: string;

Description

The SelText property defines text selected in the component.

Comments

On getting the SelText property value, the text selected in the component will be returned.

On setting the SelText property value, it behavior depends on the fact if there is selected text in the component:

After the SelText value is set, the component is deselected. The SelText property returns empty value, the SelLength will be zero and the SelStart property value will be changed taking into account the text length that was set as the SelText value.

Fore and Fore.NET Examples

The property use is given in the example for ICustomEdit.SelLength.

See also:

ICustomEdit