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):
- If you're not already there, go to the second card, the currently empty one.
- Make sure the Edit button is selected in the Tools palette and drag a Push button to the card, to the position of the
- 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"!).
- Set the name of the button to
number7 and the label to
- Select Object ...