Microsoft SDK for Java

Edit.getSelectedText

Retrieves the currently selected text in the edit control.

Syntax

public final String getSelectedText()

Return Value

Returns a String object containing the text that is selected in the edit control; if no text is selected, returns null.

See Also   setSelectedText

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