Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Custom Properties with the Same Name: Visio Groups and Shapes within Groups

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
 

Microsoft Corporation

September 2001

Applies to:
   Microsoft Visio Standard 2002
   Microsoft Visio Professional 2002
   Microsoft Visio 2000 Standard Edition
   Microsoft Visio 2000 Professional Edition
   Microsoft Visio 2000 Technical Edition
   Microsoft Visio 2000 Enterprise Edition

Summary: This article compares how Microsoft Visio 2002 and Visio 2000 deal with shape and group custom property behavior when groups and shapes within groups have custom properties with the same name. (3 printed pages)

Contents

Introduction
Custom Property Behavior Change
Custom Property Scenario
Additional Information

Introduction

Custom properties are data associated with Microsoft® Visio® shapes. You can create and define custom properties for shapes and groups using the Custom Properties window, or by using the ShapeSheet® window. When you create a custom property for a shape or group, Visio adds a unique custom property row to the Custom Properties section of that shape or group's ShapeSheet window. However, you can define custom properties with the same name for shapes, shapes within groups, and groups.

Custom Property Behavior Change

In Microsoft Visio 2000, you can assign a custom property to a group and to a shape within that group that has the same name. When you update the custom property value of the shape in the group, Visio 2000 also updates the custom property value for the group. Microsoft Visio 2002 does not update the custom property value for the group, so the value stays the same. The new Visio 2002 behavior is more consistent with user expectations.

The following flowchart illustrates and compares how Visio 2000 and Visio 2002 deal with shape and group custom property behavior when groups and shapes within groups have custom properties with the same name.

Aa140370.samename1(en-us,office.10).gif

Figure 1. Comparison of custom property behavior in Microsoft Visio 2000 and Visio 2002 products

Custom Property Scenario

For example, your company sells equipment shapes individually and in sets. In a Visio drawing that illustrates pieces of equipment, you group a set of shapes to create a SKU. All the shapes in the group include the custom property, Manufacturer Name, as does the group. When you sub select a shape within the group and change the value of the Manufacturer Name property for that shape, Visio 2000 also changes the value of the Manufacturer Name for the group. Visio 2002 does not.

Additional Information

  • For more information about custom properties, search for custom properties in the Visio 2002 online Help (on the Help menu, click Microsoft Visio Help).
  • For more information about the Custom Properties section in the ShapeSheet, search for About custom properties in the Microsoft Visio 2002 online Help (on the Help menu, click Microsoft Visio Help).
Show:
© 2015 Microsoft