Renaming Parts in the Composition Editor

The Composition Editor names parts based on the part palette names or the names you specify when you place parts on the free-form surface. For example, the first push button part that you use is named PushButton1. When you select this part, the information area at the bottom of the Composition Editor displays the message "PushButton1 selected." The second push button you use is named PushButton2, the third is named PushButton3, and so forth. The Composition Editor assigns these default names to distinguish parts and connections when you generate the code to build your application.

To assign part names that are more descriptive or meaningful to your program element, follow these steps:

  1. Move the mouse pointer over the part whose name you want to change.
  2. Click mouse button 2 and the pop-up menu for the part appears.
  3. Select Change name and a Name Change Request window appears.
  4. Type a new name in the entry field.
  5. Select OK. The Composition Editor changes the name of the part to the name that you typed in the entry field.

You can also change a part name by opening the property sheet for the partand changing the name in the partName value column.


Related procedures
Working with Parts in the Composition Editor
Placing Parts in the To-Do List Application Window