[Delphi] multi line messagebox

A Place For Programmers Of All Levels To Discuss Programming & Web Building.

Moderator: Community Moderator

Post Reply
User avatar
djfshady
Corporal
Corporal
Posts: 25
Joined: 26 Nov 2010, 20:12
Location: United Kingdom
Been thanked: 5 times
Contact:

[Delphi] multi line messagebox

Post 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 '
Image
Post Reply

Return to “Programming/Web Building Chat & Support”