Step 5. Change the Push Button Properties

In this step you will set the pushbutton Captions and change their default component name. You will also create a Click event for each push button.

1.  Click anywhere on the web page to de-select the three push buttons. Click on Button1 to select it. Notice it then display handles, which can be used to resize it.

2.  Select the Details tab. Select each push button in turn and set up its properties as shown in this table:

Push Button

Caption

Name

Button1

Hello

HELLO

Button2

World

WORLD

Button3

Clear

CLEAR

 

3.  Create a Click event handling routine for each button, by first selecting a button, then select the Events tab on the Details tab and double click the Click event. Notice the Event icon changes its appearance.

     You will add code to these events in a later step.