[ |../../index.htm#lansa/wbfeng01_0110.htm]
You are here:

Step 7. Add Logic to the Hello Button Click Event

1.  Select the Source tab. Notice that your web page has four event handling routines:

     The Initialize event was created when you created the web page.
2.  Complete the HELLO.Click event by adding an ASSIGN statement to extend the current value of STD_TEXT by adding the text 'Hello' to it. Your code should look like the following:
Evtroutine Handling(#HELLO.Click)
#STD_TEXT := #STD_TEXT + 'Hello '
Endroutine
 
     The AutoComplete prompter will show up as you type. You can use it to select the command and parameter values.
     Notice there is a space between the word Hello and the closing quote.
Some Things to Note about Editing Code

[ |../../index.htm#lansa/wbfeng01_0110.htm]