Solved

message boxes

Posted on 1998-12-03
9
166 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
 

Author Comment

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

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Scenario: Your operations manager has discovered an anomaly in your security system. The business will start to suffer within 15 minutes if it is a major IT incident. What should she do? We have 6 recommendations for managing major incidents (https:…
In 2017, ransomware will become so virulent and widespread that if you aren’t a victim yourself, you will know someone who is.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now