How Do I ... : Create an application : Quick example: Alarm Clock : Step 5: Change the parts' names
Step 5: Change the parts' names
Step 4: Change the parts' labelsStep 4: Change the parts' labelsNo tip for this topicNo example for this topicStep 6: Align the partsStep 6: Align the parts
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(R), 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.
Name Change Request window
Repeat these steps, renaming the following parts:
Part
New name
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