DesktopTextField.FormattedText
From Xojo Documentation
Read-Only Property (As String )
StringValue = aDesktopTextControl.FormattedText
New in 2021r3
Supported for all project types and targets.
New in 2021r3
Supported for all project types and targets.
Returns the Text property formatted using the value in the Format property.