TextArea.SelectionTextColor

From Xojo Documentation

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

New in 2019r2

Supported for all project types and targets.

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

Notes

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