Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

message boxes

Posted on 1998-12-03
9
Medium Priority
?
177 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
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 

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 150 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
There can be many situations demanding the conversion of Outlook OST files to PST format and as such, there is no shortage of automated tools to perform this conversion. However, what makes Stellar OST to PST converter stand above the rest? Let us e…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Suggested Courses
Course of the Month10 days, 9 hours left to enroll

885 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