TextArea.SelTextColor

From Xojo Documentation

Property (As Color )
aTextArea.SelTextColor = newColorValue
or
ColorValue = aTextArea.SelTextColor

Supported for all project types and targets.

Used to get and set the text color of the highlighted text.

Notes

When used in an unstyled TextArea, it changes the color of all the text in the TextArea.