To name and rename objects

When you drag an object from the Object Library palette onto your form design, its default name is the name of the object followed by a number that represents the number of copies of the same object in the form design. For example, if you have two list box objects on your form design, the default names are ListBox1 and ListBox2. This naming is called the occurrence number .

While creating the form design, you can see the name of the object in the following places:

  • Hierarchy palette

  • Binding tab of the Object palette

  • Object Editor

  • A pop-up tool tip on the form design when you position the pointer over the object

You can name or rename an object by using the Hierarchy palette, the Binding tab of the Object palette, or the Object Editor.

Note: If you plan to create calculations or scripts to enhance your form, avoid using the names of scripting properties, methods, and objects when naming your form objects. Using similar names can result in calculations and scripts not executing properly.

To name or rename an object by using the Hierarchy palette

  1. In the Hierarchy palette, right-click the object and select Rename Object.

  2. Type the new name and press Enter.

To name or rename an object by using the Binding tab of the Object palette

  1. Select the object.

  2. In the Object palette, click the Binding tab.

  3. In the Name box, type a new name for the object and press Enter.

To name or rename an object by using the Object Editor

  1. Select the object. If the Object Editor does not appear, select View > Object Editor.

  2. In the Name box, type a new name for the object and press Enter.

// Ethnio survey code removed