Boolean.ToString

From Xojo Documentation

Method

ToString() As String

New in 2020r1

Supported for all project types and targets.

Returns the value as a string.

Notes

If the value is True, the String "True" is returned, otherwise the String "False" is returned.

Sample Code

This example displays "True" or "False" in the MessageBox depending on whether the property is set to True or False.

MessageBox(Window1.HasCloseBox.ToString)

See Also

FromString shared method.