Solved

message boxes

Posted on 1998-12-03
9
169 Views
Last Modified: 2010-04-16
how do you use multiple lines of text in an turbo pascal 1.5 for windows message box, and a button come to think of it?
0
Comment
Question by:pobwest
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 27

Expert Comment

by:BigRat
ID: 1216288
For a MessageBox you just include a carriage return character in the string (#$0D) eg :
     "This is the first line"#$0D"And this the second"
(Hopefully I have the syntax right!)
I have never tried it with a button! Try it and let us know.
0
 
LVL 5

Expert Comment

by:scrapdog
ID: 1216289
If $0D doesn't work (it should), you could also try $0a.
0
 
LVL 3

Expert Comment

by:vikiing
ID: 1216290
#$0D (#13 is the same, and easier) is "Carriage return", and #$0A (#10) is "Line feed"; if the don't work alone, maybe the combination of both (#13#10) does.
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:pobwest
ID: 1216291
Thats sorted it, thanks folks

0
 
LVL 27

Expert Comment

by:BigRat
ID: 1216292
Just one cotton picking minute my son!
Who gets the Cheese/FairMaiden/Bone?*

*delete that which is not applicable
0
 

Author Comment

by:pobwest
ID: 1216293
?? who ever wants it, these are only comments,  i thought you had to answer?
0
 
LVL 5

Expert Comment

by:scrapdog
ID: 1216294
Give the cheese and bone to the rat.  I'll take the other thing.
0
 

Author Comment

by:pobwest
ID: 1216295
no way, the fair maiden is MINE!
scrapDOG - bone,
bigRAT - cheese,
0
 
LVL 27

Accepted Solution

by:
BigRat earned 50 total points
ID: 1216296
Yes we have to answer, but you have to decide who's answer is correct. If I answer I block for all others, so one adds comments. The questioner then posts a message which says "Thanks x - your solution was correct/the best/the funniest/and so forth" and then x posts an answer which reads "Thanks"

Thanks.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
The advancement in technology has been a great source of betterment and empowerment for the human race, Nevertheless, this is not to say that technology doesn’t have any problems. We are bombarded with constant distractions, whether as an overload o…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question