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:
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
-
In the Hierarchy palette, right-click the object
and select Rename Object.
-
Type the new name and press Enter.
To name or rename an object by using the Binding tab of the Object palette
-
Select the object.
-
In the Object palette, click the Binding tab.
-
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
-
Select the object. If the Object Editor does not
appear, select View > Object Editor.
-
In the Name box, type a new name for the object and press
Enter.
|
|
|