Example: Change a part's name
AlarmClockView has multiple spin and push buttons. VA Smalltalk assigned those parts names such as
Spin Button1,
Spin Button2, and so on. To make it easier to distinguish among parts that have similar names, you should rename them.
To change names of parts in AlarmClockView:
1. Using mouse button 2, click on the Hour spin button. (For UNIX, use mouse button 3.)
2. From the displayed pop-up menu for the part, select Change Name.
3. In the displayed prompter, replace the default name that VA Smalltalk assigned the part with the name:
Hour
4. Select
OK.
Repeat these steps, renaming the following parts:
| |
Minute spin button | Minute |
Multi-line edit | Message |
Set Alarm push button | Set Alarm button |
Cancel push button | Cancel button |
Last modified date: 05/21/2020