DesktopTextArea.SelectionBold

From Xojo Documentation

Property (As Boolean )
aDesktopTextArea.SelectionBold = newBooleanValue
or
BooleanValue = aDesktopTextArea.SelectionBold

New in 2021r3

Supported for all project types and targets.

Used to get and set the bold style of the selected text.