HyperNext Studio

HyperNext Studio => Interface Controls => Topic started by: pmp. on June 23, 2011, 06:40:12 PM

Title: Naming a button as per the PDF help sheet
Post by: pmp. on June 23, 2011, 06:40:12 PM
Hi,
as Per the PDF sheet to add and name a button :
We will put a button on the screen that when clicked will print "Hello World"
a. on the Tool Bar click on the button marked "Button"
b. on the Tool Bar click on the button marked "New Button"
c. click on the Card Window where you want the button to be placed.

4. We will now ad the "Hello World" script to the button
a. click on the button on the card and it will be highlighted
b. select the "Main" tab on the Tool Bar
c. click the "Script" button and the Script Editor will open
d. click in the large edit area on the right
e. on a new line type Message 'Hello World'
f. close the Script Editor.


Am having an issue  to name the button. am not sure what the large edit area on the right means?  i dont get a new line as per step d.


thank you
Title: Re: Naming a button as per the PDF help sheet
Post by: Malkom on June 23, 2011, 07:09:27 PM
Sorry for not being very clear, the mention of newline has made it confusing.

The large edit area is the area in the editor where the text of your script is placed.
The edit area is white by default and is surrounded by yellow.

So in the edit area type:-

Code: [Select]
Message 'Hello World'