O'Reilly logo

LiveCode Mobile Development HOTSHOT by Edward D Lavieri Jr.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Programming the Textual Fun option

LiveCode provides us with powerful control over text. We can evaluate entire strings, lines, chunks, words, or individual characters. In this task, we will have a little bit of fun with input provided to us by the user. We will create a new card titled TextFun that will simply ask the user for input and present a Process button. Once that button is clicked/tapped, our code will do the rest.

Engage Thrusters

  1. Create a new card and name it TextFun.
  2. Drag a Rectangle Button onto the card and make the following customizations using the properties inspector:
    1. Set the width to 82 and the height to 23.
    2. Set the location to 49, 17.
    3. Set the name of the button to Back.
    4. Set the label of the button to Back.
    5. Set the background color ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required