Multiple labels on master shape

D

Dave

I'm creating a new shape set and can't seem to figure out how to add multiple
lables to my master shape - no probs with just one. To give the example,
let's just say I've got a regular square, divided in 2 by a line through the
middle. I then want the master to, upon double-clicking in the left area, to
allow the user to enter text specific to that left side (and wrap there).
Same with the right side.

I've tried including no border text boxes or nor border overlapping shapes,
but they seem to become grouped when turned into a master shape.

If possible, I'd like to avoid having to install ShapeStudio and just create
them through Visio 2003. Any help would be greatly appreciated.
 
C

Chris [Visio MVP]

Hi Dave,

Here's a simple example of how you might do this. You can do it by grouping
shapes.

1.. Draw two rectangles side by side
2. Select both shapes
3. Group them (Ctrl + G, or under Shape > Grouping)
4. Now, you can sub-select each shape and start typing.

To sub-select, click the shape once, then click either the left or right
shape again.
You can also hit F2 to edit the text that might already be present.

Also, go to Format > Behavior and uncheck Edit Group's Text, or you'll get
text for the whole group which will obscure the text in the sub-shapes.

Not quite the double-click-on-area functionality you wanted, but hopefully a
step in the right direction!


--
Hope this helps,

Chris Roth
Visio MVP
http://www.wanderkind.com/visio

Go Team USA!
http://www.wanderkind.com/usa
 
D

Dave

That's definitely a step closer. Double-clicking either shape will only allow
editing the label of the first one I added (at least I think that's what it
does), but as you said, if I click on the other one once and hit F2 I can
edit that.

Thanks for the quick response Chris!
 
C

Chris [Visio MVP]

Yeah, you can't really specify multiple double-click behaviors. So if one of
your shapes is the "Main Text" block, then "send it to front", and it will
be the default text block when you double click.

- Chris
 
J

John Marshall, MVP

Chris is new to this stuff, so you have to be patient with him. ;-)

A Visio shape can have one colour, one line format, one dbl-clk behaviour
(and many more). To have more than one of these items means you have to
group a collection of shapes. When you group n shapes, Visio creates an n+1
shape, the group shape, to control the other shapes. The default setting is
that this n+1 shape is selected first. you need to change the shape's
bahaviour to select the member before the group.

Go to Behavior Under the Format menu and change the Selection drop down box
to say "Members First".

John... Visio MVP

Need stencils or ideas? http://www.mvps.org/visio/3rdparty.htm
Need VBA examples? http://www.mvps.org/visio/VBA.htm
Common Visio Questions http://www.mvps.org/visio/common_questions.htm
Visio Wishlist http://www.mvps.org/visio/wish_list.htm
 
D

Dave

Spot on John - works perfectly with the bahavior set to double-click.

Thanks to you both for your time :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top