Table of Contents

 
Goodbye World!
 

We're going to revisit our Hello World! text object real quick to get something new out of it. So open the properties of your text object and in the Text Type section select the Input radio button. You'll also have to click on the Centered box to uncheck it since input text does not support centering. Generate some new data and run the application. Everything appears as before except now when you click with your cursor anywhere over the words "Hello World!", a text input cursor will appear flashing at the end of the text. Cooool. As stated in the last section, this is the example of a hot spot in action. Although you can't see it, a hot spot sits right on top of the text and constantly resizes itself to stay the same size as the text as you enter or delete characters. So now that we have the prompt let's delete "Hello World!". We could use the Backspace key, but that's a bit slow. Instead just use the Delete key to start from scratch and enter in "Goodbye World!" instead. Now press Enter or click off the text to disable input. You can change the text back to regular if you like, but notice that the object is still set to display "Hello World!". Changing the text of an input object in the application does not affect the initial value of the object itself.

Well, that was a nice interlude. Let's continue.

 

Prev: What's This Button Do?
Next: Splash!