Time for action – making the calculator buttons
Using the first screenshot from this chapter as a guide, let's build the calculator buttons (the scripts you will type are also listed later on, if you want to make sure you typed it 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, in the position of the button with the label 7.
- In the Basic Properties 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