To display the Hello world string

  1. Select Button1 on the form.
  2. In the Object Inspector, double-click the OnClick action on the Events tab.

The Code editor displays, with the cursor in the TForm1.Button1Click event handler block.

  1. Place the cursor before the begin reserved word; then press return. This creates a new line above the code block.
  2. Insert the cursor on the new line created, and type the following variable declaration:

var s: string;

5. Insert the cursor within the code block, and type the following code:

Was this article helpful?

0 0
Project Management Made Easy

Project Management Made Easy

What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.

Get My Free Ebook

Post a comment