Double-click behavior not invoked for items in the background

L

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).
 
M

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.
 
L

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
 
M

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.

Lylan said:
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


"Mark Nelson [MS]" <[email protected]> wrote in message
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.
 
L

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?

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

Mark Nelson said:
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.

Lylan said:
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


"Mark Nelson [MS]" <[email protected]> wrote in message
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.

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).
 
L

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?

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

Mark Nelson said:
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.

Lylan said:
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


"Mark Nelson [MS]" <[email protected]> wrote in message
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.

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).
 
L

Lylan

No answer? :(

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?

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

Mark Nelson said:
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.

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


"Mark Nelson [MS]" <[email protected]> wrote in message
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.

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).
 
J

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
Lylan said:
No answer? :(

(e-mail address removed) (Lylan) wrote in message
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?

(e-mail address removed) (Lylan) wrote in message
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

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.

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


"Mark Nelson [MS]" <[email protected]> wrote in message
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.

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).
 
L

Lylan Masterman

I have created a *very* simple file located at:
http://www.lylan.com/visio/Dclk with stencil.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
 
M

Mark Nelson [MS]

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.
 
L

Lylan Masterman

Wow! It took a while, but this has accomplished the behavior that I want!

Thanks Mark
 

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