MessageDialog Message with Enter

Is there a way to add a “Enter” to the message of the dialog (https://documentation.xojo.com/api/user_interface/desktop/messagedialog.html#messagedialog-message)?
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.