I.T. Discussion Community!
-Collapse +Expand
Delphi
Search Delphi Group:

Advanced
-Collapse +Expand Delphi To/From
To/FromCODEGuides
-Collapse +Expand Delphi Store
PRESTWOODSTORE

Prestwood eMagazine

April 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.

KB100005



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).

Notes

  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


Comments

0 Comments.
Share a thought or comment...
 
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 = P1244A1
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 play-drums.com 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
8193
Since 4/2/2008
Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech