Discussion:
Double-click behavior not invoked for items in the background
(too old to reply)
Lylan
2004-09-09 23:07:00 UTC
Permalink
Hi,
I have created a background which is used in approximately 30 other
pages. In the background, I have specified double-click actions
(using Right Click -> Format -> Behavior -> Double-Click -> Go to
page) for several items in the background.

These double-click actions work when I have the Background page open
and I double-click on one of the items.

However, these double-click actions *do not* work when I have one of
the other pages open and I double-click on one of the items in the
background.

What can I do to make the double-click actions work when I am looking
at a page that uses the background?

If there is no elegant solution, is there a reasonable workaround that
allows me to continue to have the benefits of a background (edit-once
-> change-everywhere)?

Thanks!
Lylan

PS: In case it helps, I'm using Visio Pro 2003 (11.3216.5703).
Mark Nelson [MS]
2004-09-10 04:56:25 UTC
Permalink
When using a background page, you have no access to its contents from a
foreground page. You may want to use a master shape in your document. Go
to File > Shapes > Show Document Stencil. Then grab a shape you want to
remain standardized and drag it into the stencil. Now reuse that shape by
dragging it into your drawing wherever needed. You can edit the shape by
double-clicking on it in the stencil. Any changes are reflected in the
shapes on your page.
--
Mark Nelson
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
Post by Lylan
Hi,
I have created a background which is used in approximately 30 other
pages. In the background, I have specified double-click actions
(using Right Click -> Format -> Behavior -> Double-Click -> Go to
page) for several items in the background.
These double-click actions work when I have the Background page open
and I double-click on one of the items.
However, these double-click actions *do not* work when I have one of
the other pages open and I double-click on one of the items in the
background.
What can I do to make the double-click actions work when I am looking
at a page that uses the background?
If there is no elegant solution, is there a reasonable workaround that
allows me to continue to have the benefits of a background (edit-once
-> change-everywhere)?
Thanks!
Lylan
PS: In case it helps, I'm using Visio Pro 2003 (11.3216.5703).
Lylan
2004-09-10 20:52:08 UTC
Permalink
This didn't get me the desired effect.

I followed all of the steps, and all signs indicated that it was going
to work. However, after I drag and drop the item from the document
stencil into a new page, and I double-click on an item that has a
double-click action defined, the double-click action ("Go to page")
does not work. When I double-click on the item, the only thing that
happens is that the item is selected.

The odd part is that when I look at the double-click property of the
item on the page, the property appears properly defined.

Thoughts?

Lylan
Post by Mark Nelson [MS]
When using a background page, you have no access to its contents from a
foreground page. You may want to use a master shape in your document. Go
to File > Shapes > Show Document Stencil. Then grab a shape you want to
remain standardized and drag it into the stencil. Now reuse that shape by
dragging it into your drawing wherever needed. You can edit the shape by
double-clicking on it in the stencil. Any changes are reflected in the
shapes on your page.
--
Mark Nelson
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Post by Lylan
Hi,
I have created a background which is used in approximately 30 other
pages. In the background, I have specified double-click actions
(using Right Click -> Format -> Behavior -> Double-Click -> Go to
page) for several items in the background.
These double-click actions work when I have the Background page open
and I double-click on one of the items.
However, these double-click actions *do not* work when I have one of
the other pages open and I double-click on one of the items in the
background.
What can I do to make the double-click actions work when I am looking
at a page that uses the background?
If there is no elegant solution, is there a reasonable workaround that
allows me to continue to have the benefits of a background (edit-once
-> change-everywhere)?
Thanks!
Lylan
PS: In case it helps, I'm using Visio Pro 2003 (11.3216.5703).
Mark Nelson [MS]
2004-09-11 03:56:33 UTC
Permalink
Try making a plain rectangle with the double-click action just to be sure
that you've got the basic operation working. Then set up your own shapes
the same way.
--
Mark Nelson
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
Post by Lylan
This didn't get me the desired effect.
I followed all of the steps, and all signs indicated that it was going
to work. However, after I drag and drop the item from the document
stencil into a new page, and I double-click on an item that has a
double-click action defined, the double-click action ("Go to page")
does not work. When I double-click on the item, the only thing that
happens is that the item is selected.
The odd part is that when I look at the double-click property of the
item on the page, the property appears properly defined.
Thoughts?
Lylan
Post by Mark Nelson [MS]
When using a background page, you have no access to its contents from a
foreground page. You may want to use a master shape in your document.
Go
Post by Lylan
Post by Mark Nelson [MS]
to File > Shapes > Show Document Stencil. Then grab a shape you want to
remain standardized and drag it into the stencil. Now reuse that shape by
dragging it into your drawing wherever needed. You can edit the shape by
double-clicking on it in the stencil. Any changes are reflected in the
shapes on your page.
--
Mark Nelson
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Post by Lylan
Hi,
I have created a background which is used in approximately 30 other
pages. In the background, I have specified double-click actions
(using Right Click -> Format -> Behavior -> Double-Click -> Go to
page) for several items in the background.
These double-click actions work when I have the Background page open
and I double-click on one of the items.
However, these double-click actions *do not* work when I have one of
the other pages open and I double-click on one of the items in the
background.
What can I do to make the double-click actions work when I am looking
at a page that uses the background?
If there is no elegant solution, is there a reasonable workaround that
allows me to continue to have the benefits of a background (edit-once
-> change-everywhere)?
Thanks!
Lylan
PS: In case it helps, I'm using Visio Pro 2003 (11.3216.5703).
Lylan
2004-09-14 19:59:31 UTC
Permalink
Fair enough, that works. But...

Should it be possible to put two rectangles on the same stencil, where
both rectangles have a double-click action defined? When I have two
items on the same stencil, each with their own double-click action,
the double-clicks do not "work" when I apply that stencil to a page.

Let me give you an example of what I want to do (this is not really
what I'm doing, but if I can get this working, I know I can get
everything else working). Suppose I want to recreate the basic idea
of the Hotmail UI in Visio, with Folders shown on the left side. I
might want to create a background or template just for the "left side
of the page" -- there's a Folders label, followed by several items
(Inbox, Junk, Sent Messages, etc). Each of these additional items,
when double-clicked, should bring the user to the appropriate page/tab
in Visio. Also, suppose I later realize that I forgot a Hotmail
folder and want to add one. I should be able to add the Hotmail
folder in only one place and see the change applied everywhere that
uses the "left side of the page". Is this possible?

My main goals are:
- Several items have double-click actions that work
- Edit once, changes apply everywhere
- Preferably have one "thing" (template, background, whatever) to
edit.

Lylan
Post by Mark Nelson [MS]
Try making a plain rectangle with the double-click action just to be sure
that you've got the basic operation working. Then set up your own shapes
the same way.
--
Mark Nelson
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Post by Lylan
This didn't get me the desired effect.
I followed all of the steps, and all signs indicated that it was going
to work. However, after I drag and drop the item from the document
stencil into a new page, and I double-click on an item that has a
double-click action defined, the double-click action ("Go to page")
does not work. When I double-click on the item, the only thing that
happens is that the item is selected.
The odd part is that when I look at the double-click property of the
item on the page, the property appears properly defined.
Thoughts?
Lylan
Post by Mark Nelson [MS]
When using a background page, you have no access to its contents from a
foreground page. You may want to use a master shape in your document.
Go
Post by Lylan
Post by Mark Nelson [MS]
to File > Shapes > Show Document Stencil. Then grab a shape you want to
remain standardized and drag it into the stencil. Now reuse that shape
by
Post by Lylan
Post by Mark Nelson [MS]
dragging it into your drawing wherever needed. You can edit the shape
by
Post by Lylan
Post by Mark Nelson [MS]
double-clicking on it in the stencil. Any changes are reflected in the
shapes on your page.
--
Mark Nelson
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no
rights.
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Hi,
I have created a background which is used in approximately 30 other
pages. In the background, I have specified double-click actions
(using Right Click -> Format -> Behavior -> Double-Click -> Go to
page) for several items in the background.
These double-click actions work when I have the Background page open
and I double-click on one of the items.
However, these double-click actions *do not* work when I have one of
the other pages open and I double-click on one of the items in the
background.
What can I do to make the double-click actions work when I am looking
at a page that uses the background?
If there is no elegant solution, is there a reasonable workaround that
allows me to continue to have the benefits of a background (edit-once
-> change-everywhere)?
Thanks!
Lylan
PS: In case it helps, I'm using Visio Pro 2003 (11.3216.5703).
Lylan
2004-09-16 17:14:08 UTC
Permalink
Mark, any thoughts? Should I be able to put two rectangles with
double-click actions on the same stencil and still have both
double-click actions work? If not, is there a workaround to
effectively do what I want to do?
Post by Lylan
Fair enough, that works. But...
Should it be possible to put two rectangles on the same stencil, where
both rectangles have a double-click action defined? When I have two
items on the same stencil, each with their own double-click action,
the double-clicks do not "work" when I apply that stencil to a page.
Let me give you an example of what I want to do (this is not really
what I'm doing, but if I can get this working, I know I can get
everything else working). Suppose I want to recreate the basic idea
of the Hotmail UI in Visio, with Folders shown on the left side. I
might want to create a background or template just for the "left side
of the page" -- there's a Folders label, followed by several items
(Inbox, Junk, Sent Messages, etc). Each of these additional items,
when double-clicked, should bring the user to the appropriate page/tab
in Visio. Also, suppose I later realize that I forgot a Hotmail
folder and want to add one. I should be able to add the Hotmail
folder in only one place and see the change applied everywhere that
uses the "left side of the page". Is this possible?
- Several items have double-click actions that work
- Edit once, changes apply everywhere
- Preferably have one "thing" (template, background, whatever) to
edit.
Lylan
Post by Mark Nelson [MS]
Try making a plain rectangle with the double-click action just to be sure
that you've got the basic operation working. Then set up your own shapes
the same way.
--
Mark Nelson
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Post by Lylan
This didn't get me the desired effect.
I followed all of the steps, and all signs indicated that it was going
to work. However, after I drag and drop the item from the document
stencil into a new page, and I double-click on an item that has a
double-click action defined, the double-click action ("Go to page")
does not work. When I double-click on the item, the only thing that
happens is that the item is selected.
The odd part is that when I look at the double-click property of the
item on the page, the property appears properly defined.
Thoughts?
Lylan
Post by Mark Nelson [MS]
When using a background page, you have no access to its contents from a
foreground page. You may want to use a master shape in your document.
Go
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
to File > Shapes > Show Document Stencil. Then grab a shape you want to
remain standardized and drag it into the stencil. Now reuse that shape
by
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
dragging it into your drawing wherever needed. You can edit the shape
by
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
double-clicking on it in the stencil. Any changes are reflected in the
shapes on your page.
--
Mark Nelson
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no
rights.
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Hi,
I have created a background which is used in approximately 30 other
pages. In the background, I have specified double-click actions
(using Right Click -> Format -> Behavior -> Double-Click -> Go to
page) for several items in the background.
These double-click actions work when I have the Background page open
and I double-click on one of the items.
However, these double-click actions *do not* work when I have one of
the other pages open and I double-click on one of the items in the
background.
What can I do to make the double-click actions work when I am looking
at a page that uses the background?
If there is no elegant solution, is there a reasonable workaround that
allows me to continue to have the benefits of a background (edit-once
-> change-everywhere)?
Thanks!
Lylan
PS: In case it helps, I'm using Visio Pro 2003 (11.3216.5703).
Lylan
2004-09-20 21:15:07 UTC
Permalink
No answer? :(
Post by Lylan
Mark, any thoughts? Should I be able to put two rectangles with
double-click actions on the same stencil and still have both
double-click actions work? If not, is there a workaround to
effectively do what I want to do?
Post by Lylan
Fair enough, that works. But...
Should it be possible to put two rectangles on the same stencil, where
both rectangles have a double-click action defined? When I have two
items on the same stencil, each with their own double-click action,
the double-clicks do not "work" when I apply that stencil to a page.
Let me give you an example of what I want to do (this is not really
what I'm doing, but if I can get this working, I know I can get
everything else working). Suppose I want to recreate the basic idea
of the Hotmail UI in Visio, with Folders shown on the left side. I
might want to create a background or template just for the "left side
of the page" -- there's a Folders label, followed by several items
(Inbox, Junk, Sent Messages, etc). Each of these additional items,
when double-clicked, should bring the user to the appropriate page/tab
in Visio. Also, suppose I later realize that I forgot a Hotmail
folder and want to add one. I should be able to add the Hotmail
folder in only one place and see the change applied everywhere that
uses the "left side of the page". Is this possible?
- Several items have double-click actions that work
- Edit once, changes apply everywhere
- Preferably have one "thing" (template, background, whatever) to
edit.
Lylan
Post by Mark Nelson [MS]
Try making a plain rectangle with the double-click action just to be sure
that you've got the basic operation working. Then set up your own shapes
the same way.
--
Mark Nelson
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Post by Lylan
This didn't get me the desired effect.
I followed all of the steps, and all signs indicated that it was going
to work. However, after I drag and drop the item from the document
stencil into a new page, and I double-click on an item that has a
double-click action defined, the double-click action ("Go to page")
does not work. When I double-click on the item, the only thing that
happens is that the item is selected.
The odd part is that when I look at the double-click property of the
item on the page, the property appears properly defined.
Thoughts?
Lylan
Post by Mark Nelson [MS]
When using a background page, you have no access to its contents from a
foreground page. You may want to use a master shape in your document.
Go
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
to File > Shapes > Show Document Stencil. Then grab a shape you want to
remain standardized and drag it into the stencil. Now reuse that shape
by
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
dragging it into your drawing wherever needed. You can edit the shape
by
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
double-clicking on it in the stencil. Any changes are reflected in the
shapes on your page.
--
Mark Nelson
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no
rights.
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Hi,
I have created a background which is used in approximately 30 other
pages. In the background, I have specified double-click actions
(using Right Click -> Format -> Behavior -> Double-Click -> Go to
page) for several items in the background.
These double-click actions work when I have the Background page open
and I double-click on one of the items.
However, these double-click actions *do not* work when I have one of
the other pages open and I double-click on one of the items in the
background.
What can I do to make the double-click actions work when I am looking
at a page that uses the background?
If there is no elegant solution, is there a reasonable workaround that
allows me to continue to have the benefits of a background (edit-once
-> change-everywhere)?
Thanks!
Lylan
PS: In case it helps, I'm using Visio Pro 2003 (11.3216.5703).
John Marshall, MVP
2004-09-21 15:44:58 UTC
Permalink
The double-click action relates to the shape, so you can have a different
double click action applied to each shape. Since the action is inherited
from the master, each shape based on that master will have the same double
click behaviour.

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
Post by Lylan
No answer? :(
Post by Lylan
Mark, any thoughts? Should I be able to put two rectangles with
double-click actions on the same stencil and still have both
double-click actions work? If not, is there a workaround to
effectively do what I want to do?
Post by Lylan
Fair enough, that works. But...
Should it be possible to put two rectangles on the same stencil, where
both rectangles have a double-click action defined? When I have two
items on the same stencil, each with their own double-click action,
the double-clicks do not "work" when I apply that stencil to a page.
Let me give you an example of what I want to do (this is not really
what I'm doing, but if I can get this working, I know I can get
everything else working). Suppose I want to recreate the basic idea
of the Hotmail UI in Visio, with Folders shown on the left side. I
might want to create a background or template just for the "left side
of the page" -- there's a Folders label, followed by several items
(Inbox, Junk, Sent Messages, etc). Each of these additional items,
when double-clicked, should bring the user to the appropriate page/tab
in Visio. Also, suppose I later realize that I forgot a Hotmail
folder and want to add one. I should be able to add the Hotmail
folder in only one place and see the change applied everywhere that
uses the "left side of the page". Is this possible?
- Several items have double-click actions that work
- Edit once, changes apply everywhere
- Preferably have one "thing" (template, background, whatever) to
edit.
Lylan
Post by Mark Nelson [MS]
Try making a plain rectangle with the double-click action just to be sure
that you've got the basic operation working. Then set up your own shapes
the same way.
--
Mark Nelson
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Post by Lylan
This didn't get me the desired effect.
I followed all of the steps, and all signs indicated that it was going
to work. However, after I drag and drop the item from the document
stencil into a new page, and I double-click on an item that has a
double-click action defined, the double-click action ("Go to page")
does not work. When I double-click on the item, the only thing that
happens is that the item is selected.
The odd part is that when I look at the double-click property of the
item on the page, the property appears properly defined.
Thoughts?
Lylan
Post by Mark Nelson [MS]
When using a background page, you have no access to its contents from a
foreground page. You may want to use a master shape in your document.
Go
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
to File > Shapes > Show Document Stencil. Then grab a shape you want to
remain standardized and drag it into the stencil. Now reuse that shape
by
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
dragging it into your drawing wherever needed. You can edit the shape
by
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
double-clicking on it in the stencil. Any changes are reflected in the
shapes on your page.
--
Mark Nelson
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no
rights.
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Hi,
I have created a background which is used in approximately 30 other
pages. In the background, I have specified double-click actions
(using Right Click -> Format -> Behavior -> Double-Click -> Go to
page) for several items in the background.
These double-click actions work when I have the Background page open
and I double-click on one of the items.
However, these double-click actions *do not* work when I have one of
the other pages open and I double-click on one of the items in the
background.
What can I do to make the double-click actions work when I am looking
at a page that uses the background?
If there is no elegant solution, is there a reasonable
workaround that
allows me to continue to have the benefits of a background (edit-once
-> change-everywhere)?
Thanks!
Lylan
PS: In case it helps, I'm using Visio Pro 2003 (11.3216.5703).
Lylan Masterman
2004-09-21 18:58:03 UTC
Permalink
I have created a *very* simple file located at:
http://www.lylan.com/visio/Dclk%20with%20stencil.vsd

In it, you'll see:
Document stencil, Master 2: has 2 rectangularly shaped items, each having a
double-click action which are defined to Go to page-2
Page - 1: I dragged and dropped the above item from the stencil onto this
page
Page - 2: The page you should see after double-clicking on either item in
Page 1.

When I double-click on either of the rectangularly shaped items in Page 1, I
am not brought to page 2. Can you explain what I need to change to make
this happen?

Thanks!
Lylan
Post by John Marshall, MVP
The double-click action relates to the shape, so you can have a different
double click action applied to each shape. Since the action is inherited
from the master, each shape based on that master will have the same double
click behaviour.
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
Post by Lylan
No answer? :(
Post by Lylan
Mark, any thoughts? Should I be able to put two rectangles with
double-click actions on the same stencil and still have both
double-click actions work? If not, is there a workaround to
effectively do what I want to do?
Post by Lylan
Fair enough, that works. But...
Should it be possible to put two rectangles on the same stencil, where
both rectangles have a double-click action defined? When I have two
items on the same stencil, each with their own double-click action,
the double-clicks do not "work" when I apply that stencil to a page.
Let me give you an example of what I want to do (this is not really
what I'm doing, but if I can get this working, I know I can get
everything else working). Suppose I want to recreate the basic idea
of the Hotmail UI in Visio, with Folders shown on the left side. I
might want to create a background or template just for the "left side
of the page" -- there's a Folders label, followed by several items
(Inbox, Junk, Sent Messages, etc). Each of these additional items,
when double-clicked, should bring the user to the appropriate page/tab
in Visio. Also, suppose I later realize that I forgot a Hotmail
folder and want to add one. I should be able to add the Hotmail
folder in only one place and see the change applied everywhere that
uses the "left side of the page". Is this possible?
- Several items have double-click actions that work
- Edit once, changes apply everywhere
- Preferably have one "thing" (template, background, whatever) to
edit.
Lylan
Post by Mark Nelson [MS]
Try making a plain rectangle with the double-click action just to
be
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
sure
that you've got the basic operation working. Then set up your own shapes
the same way.
--
Mark Nelson
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Post by Lylan
This didn't get me the desired effect.
I followed all of the steps, and all signs indicated that it was going
to work. However, after I drag and drop the item from the document
stencil into a new page, and I double-click on an item that has a
double-click action defined, the double-click action ("Go to page")
does not work. When I double-click on the item, the only thing that
happens is that the item is selected.
The odd part is that when I look at the double-click property of the
item on the page, the property appears properly defined.
Thoughts?
Lylan
Post by Mark Nelson [MS]
When using a background page, you have no access to its
contents
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
from a
foreground page. You may want to use a master shape in your
document.
Go
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
to File > Shapes > Show Document Stencil. Then grab a shape
you
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
want to
remain standardized and drag it into the stencil. Now reuse
that
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
shape
by
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
dragging it into your drawing wherever needed. You can edit
the
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
shape
by
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
double-clicking on it in the stencil. Any changes are
reflected
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
in the
shapes on your page.
--
Mark Nelson
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and
confers
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
no
rights.
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Hi,
I have created a background which is used in approximately 30
other
pages. In the background, I have specified double-click actions
(using Right Click -> Format -> Behavior -> Double-Click ->
Go
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
to
page) for several items in the background.
These double-click actions work when I have the Background
page
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
open
and I double-click on one of the items.
However, these double-click actions *do not* work when I have
one of
the other pages open and I double-click on one of the items
in
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
the
background.
What can I do to make the double-click actions work when I am
looking
at a page that uses the background?
If there is no elegant solution, is there a reasonable
workaround that
allows me to continue to have the benefits of a background
(edit-once
-> change-everywhere)?
Thanks!
Lylan
PS: In case it helps, I'm using Visio Pro 2003
(11.3216.5703).
Mark Nelson [MS]
2004-09-22 05:36:00 UTC
Permalink
So the basic question is whether you can construct a shape with multiple
double-click actions. The answer is yes. Here is the sample shape I built:

- Create a document with three pages.
- Draw two rectangles on page one.
- Set up the first with a double-click behavior to go to page two.
- Set up the second with a double-click behavior to go to page three.
- Group the shapes together.
- Set the group behavior to be Selection = Members first.
- Drag the group over to the Document Stencil and reuse.

Since an individual shape can only have one double-click action, you need to
put several shapes into a group. However, the default selection behavior of
the group reinterprets double-clicks as simple toggles between the group
shape and member shapes. By changing the selection behavior to be Members
first, the double-click is again available for each shape.
--
Mark Nelson
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
Post by Lylan Masterman
http://www.lylan.com/visio/Dclk%20with%20stencil.vsd
Document stencil, Master 2: has 2 rectangularly shaped items, each having a
double-click action which are defined to Go to page-2
Page - 1: I dragged and dropped the above item from the stencil onto this
page
Page - 2: The page you should see after double-clicking on either item in
Page 1.
When I double-click on either of the rectangularly shaped items in Page 1, I
am not brought to page 2. Can you explain what I need to change to make
this happen?
Thanks!
Lylan
Post by John Marshall, MVP
The double-click action relates to the shape, so you can have a different
double click action applied to each shape. Since the action is inherited
from the master, each shape based on that master will have the same double
click behaviour.
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
Post by Lylan
No answer? :(
Post by Lylan
Mark, any thoughts? Should I be able to put two rectangles with
double-click actions on the same stencil and still have both
double-click actions work? If not, is there a workaround to
effectively do what I want to do?
Post by Lylan
Fair enough, that works. But...
Should it be possible to put two rectangles on the same stencil,
where
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
both rectangles have a double-click action defined? When I have two
items on the same stencil, each with their own double-click action,
the double-clicks do not "work" when I apply that stencil to a page.
Let me give you an example of what I want to do (this is not really
what I'm doing, but if I can get this working, I know I can get
everything else working). Suppose I want to recreate the basic idea
of the Hotmail UI in Visio, with Folders shown on the left side. I
might want to create a background or template just for the "left side
of the page" -- there's a Folders label, followed by several items
(Inbox, Junk, Sent Messages, etc). Each of these additional items,
when double-clicked, should bring the user to the appropriate
page/tab
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
in Visio. Also, suppose I later realize that I forgot a Hotmail
folder and want to add one. I should be able to add the Hotmail
folder in only one place and see the change applied everywhere that
uses the "left side of the page". Is this possible?
- Several items have double-click actions that work
- Edit once, changes apply everywhere
- Preferably have one "thing" (template, background, whatever) to
edit.
Lylan
Post by Mark Nelson [MS]
Try making a plain rectangle with the double-click action just to
be
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
sure
that you've got the basic operation working. Then set up your own shapes
the same way.
--
Mark Nelson
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no
rights.
Post by Lylan
This didn't get me the desired effect.
I followed all of the steps, and all signs indicated that it was going
to work. However, after I drag and drop the item from the
document
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
stencil into a new page, and I double-click on an item that has a
double-click action defined, the double-click action ("Go to
page")
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
does not work. When I double-click on the item, the only thing that
happens is that the item is selected.
The odd part is that when I look at the double-click property of the
item on the page, the property appears properly defined.
Thoughts?
Lylan
Post by Mark Nelson [MS]
When using a background page, you have no access to its
contents
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
from a
foreground page. You may want to use a master shape in your
document.
Go
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
to File > Shapes > Show Document Stencil. Then grab a shape
you
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
want to
remain standardized and drag it into the stencil. Now reuse
that
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
shape
by
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
dragging it into your drawing wherever needed. You can edit
the
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
shape
by
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
double-clicking on it in the stencil. Any changes are
reflected
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
in the
shapes on your page.
--
Mark Nelson
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and
confers
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
no
rights.
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Hi,
I have created a background which is used in approximately 30
other
pages. In the background, I have specified double-click
actions
(using Right Click -> Format -> Behavior -> Double-Click ->
Go
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
to
page) for several items in the background.
These double-click actions work when I have the Background
page
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
open
and I double-click on one of the items.
However, these double-click actions *do not* work when I have
one of
the other pages open and I double-click on one of the items
in
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
the
background.
What can I do to make the double-click actions work when I am
looking
at a page that uses the background?
If there is no elegant solution, is there a reasonable
workaround that
allows me to continue to have the benefits of a background
(edit-once
-> change-everywhere)?
Thanks!
Lylan
PS: In case it helps, I'm using Visio Pro 2003
(11.3216.5703).
Lylan Masterman
2004-09-22 18:07:58 UTC
Permalink
Wow! It took a while, but this has accomplished the behavior that I want!

Thanks Mark
Post by Mark Nelson [MS]
So the basic question is whether you can construct a shape with multiple
- Create a document with three pages.
- Draw two rectangles on page one.
- Set up the first with a double-click behavior to go to page two.
- Set up the second with a double-click behavior to go to page three.
- Group the shapes together.
- Set the group behavior to be Selection = Members first.
- Drag the group over to the Document Stencil and reuse.
Since an individual shape can only have one double-click action, you need to
put several shapes into a group. However, the default selection behavior of
the group reinterprets double-clicks as simple toggles between the group
shape and member shapes. By changing the selection behavior to be Members
first, the double-click is again available for each shape.
--
Mark Nelson
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Post by Lylan Masterman
http://www.lylan.com/visio/Dclk%20with%20stencil.vsd
Document stencil, Master 2: has 2 rectangularly shaped items, each
having
Post by Mark Nelson [MS]
Post by Lylan Masterman
a
double-click action which are defined to Go to page-2
Page - 1: I dragged and dropped the above item from the stencil onto this
page
Page - 2: The page you should see after double-clicking on either item in
Page 1.
When I double-click on either of the rectangularly shaped items in Page
1,
Post by Mark Nelson [MS]
Post by Lylan Masterman
I
am not brought to page 2. Can you explain what I need to change to make
this happen?
Thanks!
Lylan
Post by John Marshall, MVP
The double-click action relates to the shape, so you can have a different
double click action applied to each shape. Since the action is inherited
from the master, each shape based on that master will have the same double
click behaviour.
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
Post by Lylan
No answer? :(
Post by Lylan
Mark, any thoughts? Should I be able to put two rectangles with
double-click actions on the same stencil and still have both
double-click actions work? If not, is there a workaround to
effectively do what I want to do?
Post by Lylan
Fair enough, that works. But...
Should it be possible to put two rectangles on the same stencil,
where
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
both rectangles have a double-click action defined? When I have two
items on the same stencil, each with their own double-click action,
the double-clicks do not "work" when I apply that stencil to a page.
Let me give you an example of what I want to do (this is not really
what I'm doing, but if I can get this working, I know I can get
everything else working). Suppose I want to recreate the basic idea
of the Hotmail UI in Visio, with Folders shown on the left side.
I
Post by Mark Nelson [MS]
Post by Lylan Masterman
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
might want to create a background or template just for the "left side
of the page" -- there's a Folders label, followed by several items
(Inbox, Junk, Sent Messages, etc). Each of these additional items,
when double-clicked, should bring the user to the appropriate
page/tab
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
in Visio. Also, suppose I later realize that I forgot a Hotmail
folder and want to add one. I should be able to add the Hotmail
folder in only one place and see the change applied everywhere that
uses the "left side of the page". Is this possible?
- Several items have double-click actions that work
- Edit once, changes apply everywhere
- Preferably have one "thing" (template, background, whatever) to
edit.
Lylan
Post by Mark Nelson [MS]
Try making a plain rectangle with the double-click action just to
be
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
sure
that you've got the basic operation working. Then set up your
own
Post by Mark Nelson [MS]
Post by Lylan Masterman
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
shapes
the same way.
--
Mark Nelson
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no
rights.
Post by Lylan
This didn't get me the desired effect.
I followed all of the steps, and all signs indicated that it
was
Post by Mark Nelson [MS]
Post by Lylan Masterman
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
going
to work. However, after I drag and drop the item from the
document
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
stencil into a new page, and I double-click on an item that
has
Post by Mark Nelson [MS]
Post by Lylan Masterman
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
a
double-click action defined, the double-click action ("Go to
page")
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
does not work. When I double-click on the item, the only
thing
Post by Mark Nelson [MS]
Post by Lylan Masterman
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
that
happens is that the item is selected.
The odd part is that when I look at the double-click property
of
Post by Mark Nelson [MS]
Post by Lylan Masterman
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
the
item on the page, the property appears properly defined.
Thoughts?
Lylan
Post by Mark Nelson [MS]
When using a background page, you have no access to its
contents
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
from a
foreground page. You may want to use a master shape in your
document.
Go
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
to File > Shapes > Show Document Stencil. Then grab a shape
you
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
want to
remain standardized and drag it into the stencil. Now reuse
that
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
shape
by
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
dragging it into your drawing wherever needed. You can edit
the
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
shape
by
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
double-clicking on it in the stencil. Any changes are
reflected
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
in the
shapes on your page.
--
Mark Nelson
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and
confers
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
no
rights.
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Hi,
I have created a background which is used in approximately
30
other
pages. In the background, I have specified double-click
actions
(using Right Click -> Format -> Behavior ->
Double-Click ->
Post by Mark Nelson [MS]
Post by Lylan Masterman
Go
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
to
page) for several items in the background.
These double-click actions work when I have the Background
page
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
open
and I double-click on one of the items.
However, these double-click actions *do not* work when I
have
one of
the other pages open and I double-click on one of the items
in
Post by John Marshall, MVP
Post by Lylan
Post by Lylan
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
Post by Mark Nelson [MS]
Post by Lylan
the
background.
What can I do to make the double-click actions work when I
am
looking
at a page that uses the background?
If there is no elegant solution, is there a reasonable
workaround that
allows me to continue to have the benefits of a background
(edit-once
-> change-everywhere)?
Thanks!
Lylan
PS: In case it helps, I'm using Visio Pro 2003
(11.3216.5703).
Continue reading on narkive:
Search results for 'Double-click behavior not invoked for items in the background' (Questions and Answers)
7
replies
my computer does not shutdowns (WIN XP)?
started 2006-12-31 00:23:51 UTC
desktops
Loading...