MessageDialog Message with Enter

Is there a way to add a “Enter” to the message of the dialog (MessageDialog.Message - Xojo Documentation)?
I have tried \n but this does not work.

Any other thoughts?

1 Like

Add EndOfLine to the string, but note there is also an Explanation field.

You can add EndOfLine to the text / string for MessageDialog

Var cr As String = EndOfLine
d.Message = “Do you want to save changes to this document before closing?” + cr

1 Like

Great, thank you very much.

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.