Your full service technology partner! 
-Collapse +Expand
Search Delphi Group:

-Collapse +Expand Delphi To/From
-Collapse +Expand Delphi Store

Prestwood eMagazine

March Edition
Subscribe now! It's Free!
Enter your email:

   ► KBProgrammingDelphi for W...Language Det...   Print This     
  From the January 2012 Issue of Prestwood eMag
Delphi Language Details:
Using ShowMessage
Posted 17 years ago on 8/21/2002
Take Away: ShowMessage displays a simple dialog box with the text you provide it. It is one of the most used ways of displaying information.


To do:

  1. Create a new application by selecting File | New Application.
  2. Place a button on the form and change its Caption property to ShowMessage.
  3. Double click on the button to bring up the editor.
  4. Type line 3 from the code listing (on the right) between the begin and end.
  5. Run and test the program by selecting the Run VCR style button (looks like a play button).


  1. The user has no way to modify the text.
  2. Notice the semi-colon at the end of the line you typed in.
  3. If you have trouble compiling, try the copy/paste method to typing.

Code Listing


Share a thought or comment...
Comment 1 of 1

The code part what you have shared in this post is not getting executed when I tried keeping it into my program and run it. After I have asked the help of essay review for free software solution programmer to look into my coding part and say me why my program is not getting executed. He said that the code not working properly and it has problem.

Posted 6 months ago
Write a Comment...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.

Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1182A1
Enter key:
KB Post Contributed By Mike Prestwood:

Mike Prestwood is a drummer, an author, and creator of the PrestwoodBoards online community. He is the President & CEO of Prestwood IT Solutions. Prestwood IT provides Coding, Website, and Computer Tech services. Mike has authored 6 computer books and over 1,200 articles. As a drummer, he maintains and has authored 3 drum books. If you have a project you wish to discuss with Mike, you can send him a private message through his PrestwoodBoards home page or call him 9AM to 4PM PST at 916-726-5675 x205.

Visit Profile

 KB Article #100005 Counter
Since 4/2/2008
   Contact Us!
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675


Go ahead!   Use Us! Call: 916-726-5675 

©1995-2019 Prestwood IT Solutions.   [Security & Privacy]