If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Hiding Layers
I am trying to hide a layer on the background page depending on the page it
is shown on. For instance, I want the layer to be visible on Page-1 but not on Page-2. I have not used VB in so long and it has changed so much since I did that I am useless at VB right now. Can someone please help me? |
#2
|
|||
|
|||
Hiding Layers
On Tue, 6 Jan 2009 08:56:03 -0800, T. Burr
wrote: I am trying to hide a layer on the background page depending on the page it is shown on. For instance, I want the layer to be visible on Page-1 but not on Page-2. I have not used VB in so long and it has changed so much since I did that I am useless at VB right now. Can someone please help me? I don't really write VBA either but .. I think this can be done as follows: write an event handler for the active page changed this can determine the current page and write to the background page layer visibility cells. -- Regards, Paul Herber, Sandrila Ltd. Electronics for Visio http://www.electronics.sandrila.co.uk/ |
#3
|
|||
|
|||
Hiding Layers
Background pages are global. All foreground pages that reference a single
background page will all see the same thing. You will need two background pages, one with and one without the desired layer. "T. Burr" wrote: I am trying to hide a layer on the background page depending on the page it is shown on. For instance, I want the layer to be visible on Page-1 but not on Page-2. I have not used VB in so long and it has changed so much since I did that I am useless at VB right now. Can someone please help me? |
#4
|
|||
|
|||
Hiding Layers
Hmmmm. Interesting. But if you have more than one page open, say tiled, or
whatever, the active page will determine what's on the other pages. "Paul Herber" wrote: On Tue, 6 Jan 2009 08:56:03 -0800, T. Burr wrote: I am trying to hide a layer on the background page depending on the page it is shown on. For instance, I want the layer to be visible on Page-1 but not on Page-2. I have not used VB in so long and it has changed so much since I did that I am useless at VB right now. Can someone please help me? I don't really write VBA either but .. I think this can be done as follows: write an event handler for the active page changed this can determine the current page and write to the background page layer visibility cells. -- Regards, Paul Herber, Sandrila Ltd. Electronics for Visio http://www.electronics.sandrila.co.uk/ |
#5
|
|||
|
|||
Hiding Layers
On Tue, 6 Jan 2009 15:55:01 -0800, WapperDude
wrote: Hmmmm. Interesting. But if you have more than one page open, say tiled, or whatever, Can you have more than 1 page visible? You can tile documents. -- Regards, Paul Herber, Sandrila Ltd. Electronics Packages for Visio http://www.electronics-packages.sandrila.co.uk/ |
#6
|
|||
|
|||
Hiding Layers
It sounds like the easiest way for me to accompish my goal is to have two
different pages. I was hoping to have only one page where I could link the text of a two sets of title blocks (linking the part number and the Rev) and hide the information that wasn't needed on the pages that don't need to show it. "Paul Herber" wrote: On Tue, 6 Jan 2009 15:55:01 -0800, WapperDude wrote: Hmmmm. Interesting. But if you have more than one page open, say tiled, or whatever, Can you have more than 1 page visible? You can tile documents. -- Regards, Paul Herber, Sandrila Ltd. Electronics Packages for Visio http://www.electronics-packages.sandrila.co.uk/ |
#7
|
|||
|
|||
Hiding Layers
Yep. Menu bar Window New Window. Opens up a 2nd window of active
document. Choose the page you want to view. "Paul Herber" wrote: On Tue, 6 Jan 2009 15:55:01 -0800, WapperDude wrote: Hmmmm. Interesting. But if you have more than one page open, say tiled, or whatever, Can you have more than 1 page visible? You can tile documents. -- Regards, Paul Herber, Sandrila Ltd. Electronics Packages for Visio http://www.electronics-packages.sandrila.co.uk/ |
#8
|
|||
|
|||
Hiding Layers
The more compelling reason to do two background pages would be the
eventuality of hard copies. Your initial approach would require two separate passes - once for pages with background A, and a 2nd time for those with background B. Just a thought, other than the extra room that a full title block takes up in the corner, do you really need to do a reduced version for the 2nd and following pages? We've pretty much gone away from that. It's just a thought, you don't need to respond to the question -- obviously you need to meet company requirements. "T. Burr" wrote: It sounds like the easiest way for me to accompish my goal is to have two different pages. I was hoping to have only one page where I could link the text of a two sets of title blocks (linking the part number and the Rev) and hide the information that wasn't needed on the pages that don't need to show it. "Paul Herber" wrote: On Tue, 6 Jan 2009 15:55:01 -0800, WapperDude wrote: Hmmmm. Interesting. But if you have more than one page open, say tiled, or whatever, Can you have more than 1 page visible? You can tile documents. -- Regards, Paul Herber, Sandrila Ltd. Electronics Packages for Visio http://www.electronics-packages.sandrila.co.uk/ |
#9
|
|||
|
|||
Hiding Layers
On Tue, 6 Jan 2009 18:11:07 -0800, WapperDude
wrote: Yep. Menu bar Window New Window. Opens up a 2nd window of active document. Choose the page you want to view. Didn't know you could do that! -- Regards, Paul Herber, Sandrila Ltd. Electronics Packages for Visio http://www.electronics-packages.sandrila.co.uk/ |
#10
|
|||
|
|||
Hiding Layers
....Oh, how many times I have uttered that phrase!!! "Paul Herber" wrote: On Tue, 6 Jan 2009 18:11:07 -0800, WapperDude wrote: Yep. Menu bar Window New Window. Opens up a 2nd window of active document. Choose the page you want to view. Didn't know you could do that! -- Regards, Paul Herber, Sandrila Ltd. Electronics Packages for Visio http://www.electronics-packages.sandrila.co.uk/ |
Thread Tools | |
Display Modes | |
|
|