Development

Tips & code for programming Visio & using the ShapeSheet

Maps & Geography

Maps & geography shapes & templates galore!

Network

Shapes & tools for Visio network diagrams.

News

Find out what’s new in the Visio world!

Shapes

Download useful & attractive Visio shapes. For free!

where can i buy windows 7 cheapest buy windows 7 upgrade from xp windows vista purchase price buy inventor 2010 pctools spyware doctor 5.5 buy windows 7 best price norton ghost 12 product key windows 7 price future shop windows xp price singapore windows 2008 web server download omnipage coupon buy windows 7 starter download adobe indesign cs3 for mac buy vista to windows 7 microsoft project 2003 download buy windows xp operating system windows 7 home premium cheap mathcad pricing photoshop buy mac discount autocad 2009 purchase microsoft money 2007 deluxe download photoshop mac autodesk maya 2009 price windows vista business download windows 7 price 64 bit purchase windows 7 ultimate full version buy windows 7 home premium key lightroom for apple purchase windows xp india adobe cs4 photoshop buy where to buy encarta 2009 purchase vista oem buy windows 7 tesco cheap adobe fireworks windows 7 price online best price corel draw 11 mac discount powerpoint buy microsoft office for mac canada buy microsoft project 2002 adobe production premium mac turbotax 2009 deluxe best price windows 7 ultimate 64 bit best price buy windows 7 amazon adobe flash pricing adobe dreamweaver sale purchase windows 7 ultimate buy quickbooks pro 2007 roxio copy & convert 3 buy download photoshop elements 6 steinberg nuendo price uniblue registrybooster 2009 download cheap photoshop programs adobe photoshop elements cheapest buy windows 7 future shop adobe presenter 7 download microsoft office 2003 sale buy quarkxpress 8 for mac purchase adobe cs3 design premium purchase after effects cs3 paperport professional 12 prices cakewalk download parallels desktop price buy microsoft windows 7 home premium cheap adobe after effects for mac how to purchase windows 7 online download microsoft streets and trips 2008 microsoft office 2003 cheapest buy windows 7 online singapore purchase autodesk 3ds max 2009 buy windows xp pro best price adobe flash cs3 buy uniblue registrybooster 2009 cheap windows 7 ultimate retail buy autodesk autocad buy microsoft office document imaging purchase microsoft office 2003 buy windows xp media centre edition discount microsoft windows 7 ultimate windows 7 price upgrade cheap adobe photoshop software burnaware professional price buy acronis true image 2010 windows 7 price change buy acrobat 7 where to buy adobe flash cs3 quicken 2010 price buy windows xp corporate buy office 2007 student product key windows 7 price hong kong buy windows 7 64 buy acrobat professional 9 symantec winfax pro 10.4 buy cheap windows 7 keys adobe photoshop cs4 buy buy microsoft visio 2007 turbotax deluxe 2009 download windows xp price in rupees buy lightroom software buy windows 7 buy windows 7 serial key steinberg nuendo 3 download download autodesk 3ds max 9 buy ms project online windows 7 price egypt windows 2008 enterprise download parallels mac download adobe lightroom sale cheap cubase 5 where to buy windows xp service pack 2 purchase windows vista download cheap windows 7 in singapore lowest price microsoft office purchase windows 7 license key where can i buy windows 7 starter edition buy i.r.i.s. readiris pro 11 cheap windows xp operating system buy office 2003 key where to buy windows xp cheap autocad mechanical 2009 download buy matlab software buy 3ds max 2010 student download dragon naturally speaking autocad inventor download get autocad 2010 buy adobe illustrator cs2 buy windows 7 mac windows xp price canada steinberg cubase sx3 download cheap windows 2003 enterprise download adobe illustrator cs3 can i buy windows xp online windows xp price in malaysia buy adobe cs4 suite best price adobe illustrator cs3 download font folio 11 acdsee pro license key cs3 production premium mac ms streets and trips 2008 download download adobe illustrator mac windows 7 price in india where can i buy cubase sx3 windows vista download iso roxio creator 2010 coupon code microsoft office price student windows 7 home premium 64 bit oem buy microsoft frontpage software buy windows xp 64 pro cheap windows 7 home premium full version buy burnaware professional cheap microsoft works 9 microsoft visio download adobe cs4 web premium oem download disk director cheap adobe creative suite cs4 microsoft money home and business download buy parallels desktop 5 for mac cheapest norton 360 3.0 lightroom price buy windows vista pro microsoft money buy online buy microsoft expression blend 3 buy windows 7 full version for students purchase lightroom 2 buy microsoft office ultimate pdf converter professional 6 promotional code buy adobe cs3 design premium buy indesign cs3 software buy windows vista ultimate upgrade acdsee photo editor download microsoft office 2003 professional cheap windows 7 for college students illustrator cs3 download download adobe indesign cs4 cyberlink powerdirector prices buy windows vista ultimate license buy access 2003 online windows 7 price guide mathcad price buy after effects cs4 mac cheap fl studio 8 xxl cheap photoshop elements 8 buy windows vista home premium oem buy wordperfect x3 buy windows 7 home premium 64 bit buy windows 7 brisbane buy windows 7 bangkok autodesk mudbox price purchase vista license cheap adobe premiere elements 8 download adobe creative suite 4 design premium best price microsoft excel 2003 buy microsoft project 2000 microsoft expression price discount photoshop elements 8 cheap maya software 3ds max sale buy windows 7 ebay windows 7 price 2010 deskshare videoeditmagic 4.3 price buy windows xp 2010 norton 360 price comparison buy windows xp used adobe contribute mac purchase windows 7 for mac buy windows vista home premium product key buy windows 2003 datacenter buy windows 7 professional cheap microsoft windows 7 ultimate buy sony vegas pro 8 purchase access 2007 final cut express 4 cost download microsoft visio 2007 buy onenote 2003 photoshop lightroom for mac symantec pcanywhere download windows 7 price pakistan buy premiere pro cs3 cheap windows 7 for students in australia web page maker 3 download buy windows xp home sp3 adobe photoshop best buy cheap windows 2008 enterprise buy windows 7 direct download download microsoft mappoint 2009 buy windows xp home download microsoft autoroute 2007 europe ashampoo burning studio download buy windows xp calgary archicad 13 download adobe cs4 design premium trial price photoshop elements 8 windows 7 home premium cheapest autodesk lustre pricing purchase archicad 13 acdsee pro 2 download windows 7 discount canada vmware workstation 7 download discount autodesk 3ds max 2009 buy autodesk inventor professional buy windows xp home full version buy windows 7 language pack buy microsoft office 07 buy microsoft excel 2007 download propellerhead reason 4 mappoint 2009 european buy access 2007 only buy frontpage 2003 purchase windows 7 ultimate online purchase microsoft windows vista buy dragon naturally speaking 10 oil price vista gadget pinnacle studio 14 best price cheap corel video studio pro x2 buy photoshop 7 for mac buy adobe cs3 design premium mac download ashampoo burning studio 9 cheap microsoft project 2007 dvd ripper platinum 5 buy adobe premiere pro cs4 download best price microsoft windows vista windows 7 discount for high school students purchase windows 7 professional (64 bit) compare price photoshop buy windows 7 philippines buy microsoft office powerpoint 2007 purchase windows xp sp3 buy photoshop elements 8 mcafee total protection 2009 download best buy autocad 2009 buy windows vista singapore purchase windows 7 now buy windows xp mumbai buy windows 7 ultimate 64 bit oem windows 7 price kenya ms works download adobe acrobat 9 oem buy windows 7 downloadable adobe cs4 web premium trial cheap windows 7 professional best price windows 7 home premium oem download adobe photoshop elements 6 navisworks manage price windows 7 price comparison buy guitar pro 5.2 download acronis true image 11 buy nero 8 ultra edition acdsee price download adobe robohelp 8 buy powerdirector 7 ultra imsi turbofloorplan home and landscape pro 12 buy buy microsoft expression studio 2 windows 7 discount for military buy windows 7 30 download pinnacle studio 12 ultimate adobe acrobat price comparison mappoint 2009 europe buy cheap avanquest mylogomaker professional 2 buy windows xp cheap microsoft office discount code buy windows 7 switzerland buy windows xp volume license buy norton 360 download cheap adobe photoshop cs3 download microsoft expression studio 3 buy office 2010 professional fl studio 8 xxl download buy microsoft office 2007 home and student cheap adobe cs4 design premium abbyy finereader 9.0 express edition where to buy streets and trips 2010 office 2007 price student buy roxio creator 2010 cheap adobe cs4 master collection mac buy windows xp ebay cheap indesign software buy corel photoimpact x3 download avanquest mylogomaker professional 2 cheap ashampoo burning studio 8 adobe captivate pricing autocad architecture oem buy microsoft office pro 2007 where can i buy powerpoint 2003 turbo tax cost buy windows 7 india online purchase windows 7 license online buy adobe flash cs4 buy windows vista ultimate product key buy cs4 mac buy adobe indesign cs4 best buy microsoft windows 7 ultimate cheap adobe dreamweaver cs4 mac cheap windows 7 canada roxio creator 2009 special edition microsoft office 2010 price in india windows 7 price canadian buy windows xp embedded download corel draw 12 adobe creative suite 4 production premium download buy adobe photoshop cs3 extended buy windows vista business 64 bit buy ms office 2003 pro best buy quicken 2010 buy microsoft office for mac cheap buy adobe after effects cs4 cheap norton 360 3.0 best price adobe cs4 master collection windows 7 price for teachers buy windows xp student purchase adobe acrobat 8 professional buy sql server guitar pro 5 mac download
Home » Visio Essentials

Getting a Handle on Selecting and Subselecting Visio Shapes

Submitted by Visio Guy on October 13, 2009 – 12:28 pm | | 2863 views 4 Comments

handlesDid you know that Visio allows you to select shapes inside of groups and manipulate them without ungrouping or opening new windows?

The feature is convenient and powerful, but the visual cues that tell you what you are doing are subtle and can lead to confusion. This article will show you what to look for when working with selections, help you to be more proficient in your diagramming, and save you frustration along the way!

Visio Guy has a lot of articles about advanced topics: programming, developing SmartShapes using ShapeSheet techniques, and other esoteric topics.

But many of you just want to use Visio effectively and get the most diagram for your time and effort. For that reason, I’m going to do my best to fill up the new Visio Essentials category with basic how-to tips, tricks and advice.

Basic Shape Selecting

So let’s create a grouped Visio shape, and take a look at the different types of selection handles as we go.

A group needs more than one shape, so we’ve already draw two boxes. When we click on the first one, it becomes selected with the familiar green handles:

select-1

No mystery there! But since we want to create a group, we need to select both shapes. We can do that by drawing a “net selection” around both of them:

net-select

Or by holding the Shift key and clicking each shape individually.

Primary Selection vs. Secondary Selection

Once we have both shapes selected, we’ll see a combination of green handles surrounding the entire set, and magenta highlights indicating each individual member of the selection:

select-2

You might notice that Shape 1 has a thicker magenta outline than Shape 2. This denotes the Primary Selection. The primary selection is the first shape in the selection. If we multi-select using the Shift+click method, it will be the first shape we chose. If we use the net selection method, it appears to be the left-most shape (although I am not 100% sure about this.)

What’s interesting about the primary selection is that if we just start typing with multiple shapes selected, the primary selected shape will receive the text.

The primary selection is also the key when using the Format Painter format-painter tool. All secondary-selected shapes will receive the formatting of the primary selection.

Grouping Shapes and Sub-selecting Sub-shapes

With two shapes selected, we can now create a group. Easy ways group shapes together include: Ctrl+G, and selecting the Shape > Grouping > Group menu item.

After grouping, our shape (and its handles) look like this:

select-group

The green handles surround the entire shape, and you can now move both shapes together as a single unit. Shape 1 and Shape 2 are now Sub-shapes or members of the group.

But both shapes have different text and formatting, which you or a friend might want to change in the future. For this reason, Visio allows you to sub-select shapes inside of groups.

If you first select your group, then click again on one of the sub-shapes, you’ll notice familiar, yet different, green handles:

sub-select-1

See how they are slightly lighter in color, and contain little Xs?

Notice also that there is a dashed line around the entire group. This is how Visio visually informs you that you have sub-selected a shape inside of a group. With Shape 1 sub-selected, we can now edit its text, and change its line and fill formatting. Shape 2 will be unaffected.

Moving Sub-shapes Accidentally

The danger to new users is that they don’t notice that they’ve (accidentally) sub-selected a shape. They do this, then pull on the shape, and it flies off, outside of the group:

dangerous-sub-shape-moves-1

You can see the sub-selection handles, but note the dashed group outline? It hasn’t changed at all.

If we hit Esc or click away from the shapes, then re-select the group, we’ll see something odd indeed!

dangerous-sub-shape-moves-2

Shape 1 is still “inside” of the group, but it is way outside of the group’s BoundingBox. Sometimes it is desirable to design shapes that have out-of-bounds sub-shapes, but you generally do not want users to be befuddled by this!

One solution to this is to prevent sub-selection altogether. If you go to the Format > Behavior menu, you can choose Group Only from the Selection drop-down:

selection-behavior

This will make your group behave like a single shape, and users won’t be able to sub-select anything. There are lots of situations where this is desirable.

Note: If you don’t see Behavior under the Format menu, read this: Top 9 Reasons for Turning-on Developer Mode.

Another way is to lock down individual properties of sub-shapes, such as its size and position. Here we’ve sub-selected Shape 1, then gone to the Format > Protection menu:

protect-size-and-position

We’ve locked-down the sub-shape’s Width, Height, X position and Y position. Users can still change the formatting and the text of the shape, but they can’t move it. See the dark-gray handles that denote locked attributes.

Sharp eyes might also see that the “lollipop” rotation-handle is still green. Yep, the sub-shape can’t be moved or resized, but it can still be rotated!

rotate-not-locked

You can learn a lot from a Visio shape handle!

Editing Text

The differences between top-level grouped shapes and sub-shapes can also be seen when editing text.

When we created the new group, we created a new shape. It is important to note that this new group can also hold text. If we select the group and start typing, we’ll see that the group now receives the text:

select-and-type-1

Once we’re done typing (hit Esc or click away from the shape), we’ll see that neither Shape 1 nor Shape 2 received this new text:

select-and-type-2

If we want to change the “Shape 1″ or “Shape 2″ text, then we need to sub-select first. Here we sub-select Shape 1, then start typing:

select-and-type-3

Again, hit Esc when we’re done typing, so we can see what we’ve done more clearly:

select-and-type-4

If we don’t want the group to have a text block, there is a way to turn it off. Go to Format > Behavior, and uncheck Edit text of group:

no-group-text-dialog

This will disable text at the group level, and the front-most sub-shape will then accept the text, even when we have the group selected. Here, we’ve disabled the group’s text-editing, selected just the group and started typing:

no-group-text-edit

You can change the front/back order of shapes by using Ctrl+Shift+F to bring a shape to the front, or by Ctrl+Shift+B to send a shape to the back. These options and more are also available under the Shape > Order menu.

Getting Inside of Groups

If you want to add shapes to groups, or edit their contents in peace, it is nice to know that you can open a separate window to do this. Sub-selection is great for minor tweaks and text-edits, but sometimes you need an isolated canvas to work with.

If this is the case, just select a group and choose: Edit > Open Group.

open-group-menu

If the shape is an instance of a master, or has been otherwised named, you might see the name of the shape, instead of “Group”. For instance, if you want to peek inside of various network shapes, you might have to pick: Edit > Open Laptop or Edit > Open Monitor from the menu.

Regardless, you’ll be presented with a new window that has a peach-colored background. You can add, edit and delete shapes inside of this window, just like in a regular Visio drawing window:

open-group-window

There are a few other ways to manipulate groups and their sub-shapes, but I won’t go into details right now. For the curious, try experimenting with these operations:

  • Shape > Grouping > Add to Group
  • Shape > Grouping > Remove from Group
  • Shape > Grouping > Convert to Group
  • Shape > Operations > Update Alignment Box

Visio 2010 Handles: Change Coming Soon!

As of this writing, the Visio 2010 beta is in the hands of a few thousand people across the globe. They will have noticed that after eighteen years of those cute little green handles, change is afoot.

Just a simple selection of s single shape tells us that the colors are changing. We’ll soon be seeing blue handles with fancy gradient-fills in them:

select-2010-1

A multiple selection looks the same as before, except that green has changed to blue:

select-2010-2

When we group the shape, we get a single selection rectangle, a single set of handles–as expected:

select-2010-group

But when we sub-select a sub-shape in Visio 2010, the handles are almost white. There’s just a tad of blue in those handles, and no Xs!

sub-select-2010-1

I’ll reserve comment other than to say that this is going to mess up a lot of screenshots in people’s blogs!

Selection for Developers

If you are a developer, you might be interested in further technical information regarding selecting and sub-selecting of Visio shapes via automation. Have a look at: Visio Guy » Detect Sub-selected Shapes Programmatically!

Related Posts

  1. Detect Sub-selected Shapes Programmatically
  2. Making Shapes More Efficient: Using Fewer Shapes & Groups
  3. Understanding Arc-Resize Problems in Visio
  4. Smart LineWeight: Bigger Shape, Thicker Lines
  5. The Hidden World of Visio Shapes

4 Comments »

  • You should mention that the developer of the shape may have added a formula to one of the shapes that may be destroyed if the developer did not properly protect the formula. For instnace, one of the sub shapes may have been defined as being positioned 2 inches to the left of another subshape. Moving the subshape may change the position to be a percentage of the main shape.
    Of course, this can be a topic for another one of your blogs. ;-)

  • Visio Guy says:

    Hi John,

    Thanks for the input. Sounds like food for about five articles, like why you should GUARD formulas on sub-shapes, and other fascinating themes.

    I was trying to keep this a “mostly for end-users” article, but I did get carried away anyway, I suppose.

  • [...] times, you have to expect user to sub-select sub-shapes, then format them individually. This can be annoying, because they might not know how to [...]

  • mars says:

    can visio 2007 do some lot plotting like that of a mapdeed draw?
    can connectors/ shapes be controlled to a point where you want it to be? visio takes so much memory and space. are there solutions to problems like these?

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.