Page 1 of 1

[Delphi] multi line messagebox

Posted: 24 Dec 2010, 18:36
by djfshady
It is a very simple way to show a MessageBox with multiple line inside it. I have always had problems showing clear messages that users can undersand easily. I hope someone finds it useful.

Code: Select all

MessageBox(handle, 'First'+#10+#13+'Second'+#10+#13+'Third', 'Multiline MessageBox'
Change First to first line of text
Change Second to second line of text
Change Third to third line of text

To add more line's just add

Code: Select all

+#10+#13+'Second'
to the end of a '