RichEdit.setSelColor

Overview | Methods | This Package | All Packages

RichEdit.setSelColor

Sets the text color of the currently selected text.

Syntax

public void setSelColor( Color selColor )

Parameters

selColor

A Color object that describes the color to which to set the selection.

Remarks

If no text is currently selected, the color is applied to the current insertion point, and to all text that the user types at the insertion point. The new color format is in effect only until the insertion point changes.

See Also   getSelColor