O'Reilly logo

LiveCode Mobile Development Beginner's Guide - Second Edition by Joel Gerdeen, Colin Holgate

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

Time for action – making the calculator buttons

Using the screenshot shown at the start of this chapter as a guide, let's build the calculator buttons (the scripts you will type are also listed if you later want to make sure you typed them correctly):

  1. If you're not already there, go to the second card, the currently empty one.
  2. Make sure the Edit button is selected in the Tools palette and drag a Push button to the card, to the position of the 7 button.
  3. In the Basic Properties panel of the Inspector palette, set the Style drop-down menu to Rounded Rectangle (in real life, you would take the time to have nice graphical buttons; here, you are just matching my ugly "programmer art"!).
  4. Set the name of the button to number7 and the label to 7.
  5. Select Object ...

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