Microsoft SDK for Java

RichEdit.setSelText

Sets the selected text in the RichEdit control.

Syntax

public void setSelText( String selText )

Parameters

selText

The text to select

Remarks

If text is selected, it is replaced by the text specified in the selText parameter. If no text is selected, the text is placed at the insertion point.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.