Microsoft Knowledge Base Email Alertz

(258458) - When you select a 2-D shape and try to add a fill pattern or color, nothing happens. (On the Format menu, click Fill , or click the Fill Color button on the Format toolbar). NOTE : In some cases when you try to fill a shape, you receive a message...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 258458 - Last Review: January 27, 2007 - Revision: 1.1

Visio2000: Cannot Apply Fill Color to a Selected Shape

This article was previously published under Q258458

On This Page

SYMPTOMS

When you select a 2-D shape and try to add a fill pattern or color, nothing happens. (On the Format menu, click Fill, or click the Fill Color button on the Format toolbar).

NOTE: In some cases when you try to fill a shape, you receive a message that the shape's formatting attributes are protected against changes. This article does not address that issue because, in those cases, the Visio program behaves as intended.

MORE INFORMATION

Shapes That Visio Can Fill

Visio can apply a fill pattern or color to closed 2-D shapes; it cannot add a fill to 1-D shapes or open 2-D shapes. A closed 2-D shape has a continuous outline without a beginning or end. For example, a circle or square is a closed shape.

How to Draw Closed 2-D Shapes

To draw a closed shape, you can use the Rectangle or Oval tools. You can also use the Pencil, Line, or Freeform tools to draw the shape one segment at a time. However, if you create a shape segment-by-segment, to close the shape, you must drag the end point of the last segment to the starting point of the first segment. You will know a shape that you create is closed when Visio gives the shape a white fill.

If you create a shape by drawing individual segments and then positioning them to form the shape, Visio does not consider the shape to be closed, even if you connect the lines' endpoints or group the segments. However, you can change the structure of the shape so that Visio recognizes it as a closed shape. The next section explains how to do this.

How to Change the Structure of a Shape to Add a Fill

If you create a shape with several segments and want to fill the shape, use the Fragment command to "trick" Visio into converting the segments into a single closed shape. To do this, follow these steps:
  1. If the shape or any part of it is grouped, select the shape, point to Grouping on the Shape menu, and then click Ungroup.
  2. Select all parts of the shape, point to Operations on the Shape menu, and then click Combine.
  3. Click the Rectangle tool. Draw a rectangle that completely covers all parts of the shape that you want to fill.
  4. While the rectangle is selected, click Send to Back on the Shape menu, to make the shape that you want to fill visible.
  5. Select the rectangle and all parts of the shape that you want to fill.
  6. On the Shape menu, point to Operations, and then click Fragment.
  7. After Visio fragments the shapes, drag the shape that you created from the rectangle.
The rectangle displays a "hole," as if Visio cut your shape out of it. Your shape is now a closed shape to which you can add a fill color or pattern.

How to Use the ShapeSheet Window to Fill an Open Shape

For certain open 2-D shapes, you can modify a cell in the shape's ShapeSheet window to add a fill attribute to the shape, without having to close the shape first. For example, you can fill a 3-sided square. NOTE: The following procedure works only if the open 2-D shape is a single shape, and is not made up of several individual segments that are grouped. The ShapeSheet window must apply to the entire shape.

To create a fill attribute in the ShapeSheet window, follow these steps:
  1. Select the shape. On the Window menu, click Show ShapeSheet.
  2. In the ShapeSheet window, scroll down to the Geometry section, and in cell A1, change TRUE to FALSE or 0 (zero).
  3. Close the ShapeSheet window.
The shape displays a white fill.

REFERENCES

For more information about closed shapes, click Search on the Help menu, type closed shapes in the What would you like to know? box, and then click Search to view the topics.

APPLIES TO
  • Microsoft Visio 2000 Standard Edition
  • Microsoft Visio 2000 Professional Edition
  • Microsoft Visio 2000 Technical Edition
  • Microsoft Visio 2000 Enterprise Edition
Keywords: 
kbprb KB258458
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate