Solved

message boxes

Posted on 1998-12-03
9
165 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
Comment Utility
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
Comment Utility
If $0D doesn't work (it should), you could also try $0a.
0
 
LVL 3

Expert Comment

by:vikiing
Comment Utility
#$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
Comment Utility
Thats sorted it, thanks folks

0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 27

Expert Comment

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

*delete that which is not applicable
0
 

Author Comment

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

Expert Comment

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

Author Comment

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

Accepted Solution

by:
BigRat earned 50 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

771 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

10 Experts available now in Live!

Get 1:1 Help Now