Author Topic: Hide page tabs  (Read 506 times)

0 Members and 1 Guest are viewing this topic.

Tom J

  • Newbie
  • *
  • Posts: 2
Hide page tabs
« on: June 06, 2020, 07:14:58 AM »
How do I hide the Page Tab Bar at the bottom of the screen? I'd like to reclaim the screen area used by the bar to increase my drawing area. I found that I can add the PAGE command to the Quick Access Toolbar and use that instead.

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2932
    • Paul Herber's website
Re: Hide page tabs
« Reply #1 on: June 06, 2020, 07:19:59 AM »
I've never heard of any way of doing this.
Electronic and Electrical engineering, business and software stencils and applications for Visio -

https://www.paulherber.co.uk/

Nikolay

  • Hero Member
  • *****
  • Posts: 945
    • UnmanagedVisio
Re: Hide page tabs
« Reply #2 on: June 06, 2020, 11:11:58 AM »
Mee too. But does not seem to be impossible.
Theoretically, you could subclass the tabs window and hide it.
I would not do it though.

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2932
    • Paul Herber's website
Re: Hide page tabs
« Reply #3 on: June 06, 2020, 03:46:01 PM »
Might not give you more active work area though, other code might assume the page tabs area is visible with a certain height.
Electronic and Electrical engineering, business and software stencils and applications for Visio -

https://www.paulherber.co.uk/

Nikolay

  • Hero Member
  • *****
  • Posts: 945
    • UnmanagedVisio
Re: Hide page tabs
« Reply #4 on: June 06, 2020, 03:53:06 PM »
You can try to resize work area as well "manually"  ;D
The whole thing is of course not supported and in no case recommended. But if somebody REALLY-REALLY wants to remove tabs, or maybe just out of the interest, well, he could try to.

vojo

  • Hero Member
  • *****
  • Posts: 1515
Re: Hide page tabs
« Reply #5 on: June 06, 2020, 10:55:57 PM »
This might help

https://social.technet.microsoft.com/Forums/office/en-US/7ca335be-ca1f-47e2-b634-a8930f7b49d3/hide-visio-page-tabs-interface?forum=visiogeneral

I assume using the drop down of the menus, minimize stencils, don't open format panel, etc and all the clumsiness that
entails is not enough???

also, might try floating the drawing window then maximize it

lastly, while I never tried it, there is a docmd  to open the selected shape - in your case, a group - in a new window.
That may give you more control.

Croc

  • Full Member
  • ***
  • Posts: 246
    • Visioport
Re: Hide page tabs
« Reply #6 on: June 07, 2020, 02:08:19 AM »
ActiveWindow.ShowPageTabs = false in Immediate window does not help?

Nikolay

  • Hero Member
  • *****
  • Posts: 945
    • UnmanagedVisio
Re: Hide page tabs
« Reply #7 on: June 07, 2020, 02:36:21 AM »
You are right, ShowPageTabs works perfectly! :o

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2932
    • Paul Herber's website
Re: Hide page tabs
« Reply #8 on: June 07, 2020, 07:42:47 AM »
This all makes my response look rather useless! Sigh.  ::)
Electronic and Electrical engineering, business and software stencils and applications for Visio -

https://www.paulherber.co.uk/

Nikolay

  • Hero Member
  • *****
  • Posts: 945
    • UnmanagedVisio
Re: Hide page tabs
« Reply #9 on: June 07, 2020, 08:27:26 AM »
Well mine too  :D

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3822
  • Ideas Visio-lized into solutions
Re: Hide page tabs
« Reply #10 on: June 07, 2020, 09:27:24 PM »
Wow.  One some reply and two things learned. 

Cool.
Visio 2019 Pro

Hey Ken

  • Full Member
  • ***
  • Posts: 218
  • Just This Guy
    • The Pennsylvania Project, with Ken Krawchuk
Re: Hide page tabs
« Reply #11 on: June 08, 2020, 08:10:47 AM »
   It's more than just things learned.  This question brings back bad memories from almost 20 years ago when I was first learning Visio VBA. 

   Somewhere, somehow, while searching for a different solution, I accidentally turned off the page tabs.  I could NOT figure out how to turn them back on!  So I had to abandon the .vsd and hand-copy a multi-page, hyperlinked drawing to a new .vsd.  It wasn’t until many years later that I came across the ShowPageTabs trick.

   So when I saw the title of the thread, I knew exactly what the issue was, having learned it the hard way.  And I also found out the hard way what Application.Visible = False does.  Task manager came to my rescue for that mistake!

   - Ken

Ken V. Krawchuk
'caster

The Pennsylvania Project
Radio Podcast

10 to 11 AM Saturdays on WWDB 860 AM in Philadelphia
7 to 8 AM Mondays on KUR 1670 AM in Kutztown
On demand at http://PennsylvaniaProject.com

Tom J

  • Newbie
  • *
  • Posts: 2
Re: Hide page tabs
« Reply #12 on: June 08, 2020, 12:35:56 PM »
Thank you everybody!!