DesktopTextField.SelectionPlain

From Xojo Documentation

Property (As Boolean )
aDesktopTextField.SelectionPlain = newBooleanValue
or
BooleanValue = aDesktopTextField.SelectionPlain

New in 2021r3

Supported for all project types and targets.

If True, the selected text is plain.